/* =========================================
   CICTEC Website - Tech-Style v4 (Dark Premium)
   Dark premium tech: deep navy bg + translucent glass + vivid glow accents
   ========================================= */

/* --- Variables --- */
:root {
    --bg-main: #F8FAFC;
    --bg-alt: #F0F9FF;
    --bg-deep: #E0F2FE;
    --bg-card: #FFFFFF;
    --bg-glass: rgba(255,255,255,0.85);
    --purple: #7B68EE;
    --purple-dark: #6D5FDB;
    --purple-glow: rgba(123,104,238,0.30);
    --teal: #14B8A6;
    --teal-light: #2DD4BF;
    --teal-glow: rgba(20,184,166,0.30);
    --blue: #3B82F6;
    --blue-glow: rgba(59,130,246,0.30);
    --cyan: #06B6D4;
    --cyan-light: #22D3EE;
    --cyan-glow: rgba(34,211,238,0.30);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-light: rgba(0,0,0,0.08);
    --border-accent: rgba(123,104,238,0.40);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-glow: 0 0 20px rgba(123,104,238,0.25);
    --shadow-glow-lg: 0 0 40px rgba(123,104,238,0.35);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --transition: all 0.3s ease;
    --font-cn: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", "Source Han Sans CN", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --bg-dark: #0B1120;
    --bg-dark-2: #1E293B;
    --bg-dark-card: rgba(255,255,255,0.08);
    --bg-light: #FFFFFF;
    --bg-light-alt: #F8FAFC;
    --text-dark: #0F172A;
    --text-dark-secondary: #475569;
    --text-dark-muted: #64748B;
    --text-light: rgba(255,255,255,0.85);
    --text-white: #ffffff;
    --border-dark: rgba(0,0,0,0.08);
    --max-width: 1200px;
    --gradient-purple: linear-gradient(135deg, #8B7CF7, #7B68EE);
    --gradient-teal: linear-gradient(135deg, #14B8A6, #0D9488);
    --gradient-blue: linear-gradient(135deg, #3B82F6, #1D4ED8);
    --gradient-hero: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-cn); color: var(--text-primary); background: var(--bg-main); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan); }
ul { list-style: none; }

/* --- Cross-platform Scrollbar --- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139,124,247,0.25); border-radius: 4px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,124,247,0.45); border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(139,124,247,0.25) transparent; }

/* --- Prevent mobile zoom on input focus --- */
@media (max-width: 768px) {
    input, select, textarea { font-size: 16px !important; }
}

/* --- Tap highlight & touch optimization --- */
a, button, .btn, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}
@media (hover: none) and (pointer: coarse) {
    .btn, .nav-link, .nav-dropdown-item { min-height: 44px; display: inline-flex; align-items: center; }
}

/* --- Particle Canvas (bright dots) --- */
#particle-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: var(--transition); cursor: pointer; border: none; letter-spacing: 0.5px; }
.btn-glow { background: var(--gradient-purple); color: #fff; box-shadow: 0 0 20px var(--purple-glow); }
.btn-glow:hover { box-shadow: 0 0 30px var(--purple-glow); transform: translateY(-2px); }
.btn-glow-teal { background: var(--gradient-teal); color: #fff; box-shadow: 0 0 20px var(--teal-glow); }
.btn-glow-teal:hover { box-shadow: 0 0 30px var(--teal-glow); transform: translateY(-2px); }
.btn-glow-blue { background: var(--gradient-blue); color: #fff; box-shadow: 0 0 20px var(--blue-glow); }
.btn-glow-blue:hover { box-shadow: 0 0 30px var(--blue-glow); transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,0.22); border-color: var(--purple); box-shadow: var(--shadow-glow); }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* --- Navbar --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light); transition: var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-md); }
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 96px; }
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 144px; width: auto; transition: var(--transition); }
.navbar.scrolled .logo-img { height: 100px; }
.nav-menu { display: flex; gap: 4px; }
.nav-link { padding: 8px 16px; font-size: 14px; color: var(--text-secondary); border-radius: var(--radius-sm); transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--purple); background: rgba(123,104,238,0.10); }
.nav-link.active::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 20px; height: 2px; background: var(--purple); border-radius: 1px; box-shadow: 0 0 8px var(--purple-glow); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: var(--text-primary); position: absolute; left: 0; transition: var(--transition); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg); top: 8px; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

/* Dropdown Navigation */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-arrow { font-size: 10px; opacity: 0.7; transition: transform 0.3s ease; }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 1001;
}
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}
.nav-dropdown-item {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}
.nav-dropdown-item:hover {
    color: var(--purple);
    background: rgba(123, 104, 238, 0.08);
}
.nav-dropdown-item.active {
    color: var(--purple);
    background: rgba(123, 104, 238, 0.10);
}

/* Case Photo Gallery (inline in case sections) */
.case-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.case-photo-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    aspect-ratio: 16/10;
}
.case-photo-item img,
.case-photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-photo-item:hover img { transform: scale(1.05); }
.case-photo-video { background: rgba(11,17,32,0.6); }
.case-photo-video video { display: block; }
.case-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
@media (max-width: 768px) {
    .case-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
}
@media (max-width: 480px) {
    .case-photo-grid { grid-template-columns: 1fr; }
}

/* --- Light Sections --- */
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-light-alt { background: var(--bg-light-alt); color: var(--text-dark); }
.section-light .section-title, .section-light-alt .section-title { color: var(--text-dark); }
.section-light .section-desc, .section-light-alt .section-desc { color: var(--text-dark-secondary); }
.section-light .section-badge, .section-light-alt .section-badge { background: rgba(123,104,238,0.1); color: var(--purple); border-color: rgba(123,104,238,0.2); }
.section-light .business-card { background: #fff; border: 1px solid var(--border-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.section-light-alt .business-card { background: #fff; border: 1px solid var(--border-dark); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.section-light .business-card:hover, .section-light-alt .business-card:hover { border-color: rgba(123,104,238,0.3); box-shadow: 0 8px 32px rgba(123,104,238,0.12); }
.section-light .card-title, .section-light-alt .card-title { color: var(--text-dark); }
.section-light .card-desc, .section-light-alt .card-desc { color: var(--text-dark-secondary); }
.section-light .feature-tag, .section-light-alt .feature-tag { border-color: rgba(0,0,0,0.1); }
.section-light .case-card, .section-light-alt .case-card { background: #fff; border: 1px solid var(--border-dark); }
.section-light .case-card:hover, .section-light-alt .case-card:hover { border-color: var(--purple); }
.section-light .case-name, .section-light-alt .case-name { color: var(--text-dark); }
.section-light .case-desc, .section-light-alt .case-desc { color: var(--text-dark-secondary); }
.section-light .honor-item, .section-light-alt .honor-item { background: #fff; border: 1px solid var(--border-dark); }
.section-light .honor-name, .section-light-alt .honor-name { color: var(--text-dark-secondary); }
.section-light .hardware-category, .section-light-alt .hardware-category { background: #fff; border: 1px solid var(--border-dark); }
.section-light .hardware-cat-title, .section-light-alt .hardware-cat-title { color: var(--text-dark); }
.section-light .hardware-product-name, .section-light-alt .hardware-product-name { color: var(--blue); }
.section-light .hardware-product-desc, .section-light-alt .hardware-product-desc { color: var(--text-dark-secondary); }
.section-light .hardware-feature-tag, .section-light-alt .hardware-feature-tag { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); }
.section-light .data-item, .section-light-alt .data-item { background: #fff; border: 1px solid var(--border-dark); }
.section-light .data-label, .section-light-alt .data-label { color: var(--text-dark-secondary); }
.section-light .cta-title, .section-light-alt .cta-title { color: var(--text-primary); }
.section-light .cta-desc, .section-light-alt .cta-desc { color: var(--text-secondary); }

/* --- Section Background Variations (subtle, within dark theme) --- */
.section-bg-main { background: var(--bg-main); }
.section-bg-alt { background: var(--bg-alt); }
.section-bg-deep { background: var(--bg-deep); }
.section-bg-tint-purple { background: linear-gradient(180deg, var(--bg-main) 0%, rgba(139,124,247,0.05) 40%, rgba(139,124,247,0.08) 60%, var(--bg-main) 100%); }
.section-bg-tint-teal { background: linear-gradient(180deg, var(--bg-main) 0%, rgba(20,184,166,0.05) 40%, rgba(20,184,166,0.08) 60%, var(--bg-main) 100%); }
.section-bg-tint-blue { background: linear-gradient(180deg, var(--bg-main) 0%, rgba(96,165,250,0.05) 40%, rgba(96,165,250,0.08) 60%, var(--bg-main) 100%); }
/* Dark variants: subtle color tint on dark background */
.section-dark.section-bg-tint-purple { background-color: var(--bg-dark); background-image: linear-gradient(180deg, transparent 0%, rgba(139,124,247,0.06) 40%, rgba(139,124,247,0.10) 60%, transparent 100%); }
.section-dark.section-bg-tint-teal { background-color: var(--bg-dark); background-image: linear-gradient(180deg, transparent 0%, rgba(20,184,166,0.06) 40%, rgba(20,184,166,0.10) 60%, transparent 100%); }
.section-dark.section-bg-tint-blue { background-color: var(--bg-dark); background-image: linear-gradient(180deg, transparent 0%, rgba(96,165,250,0.06) 40%, rgba(96,165,250,0.10) 60%, transparent 100%); }

/* --- Dark Section with optional background image --- */
.section-dark { position: relative; overflow: hidden; background-color: var(--bg-dark); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,0.75); }
.section-dark .section-badge { background: rgba(123,104,238,0.18); color: #fff; border-color: rgba(139,124,247,0.4); }

.section-bg-cover { background-size: cover; background-position: center; }
.section-bg-cover::before { content: ''; position: absolute; inset: 0; background: rgba(11,17,32,0.82); z-index: 0; }
.section-bg-cover .container { position: relative; z-index: 1; }
.section-bg-cover-dark::before { background: rgba(11,17,32,0.88); }
.section-bg-cover-light::before { background: rgba(248,250,252,0.92); }

.section-dark .business-card { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.section-dark .business-card:hover { border-color: rgba(139,124,247,0.5); box-shadow: 0 0 40px rgba(123,104,238,0.25), 0 8px 32px rgba(0,0,0,0.25); }
.section-dark .business-card .card-title { color: #fff; }
.section-dark .business-card .card-desc { color: rgba(255,255,255,0.75); }
.section-dark .business-card .feature-tag { border-color: rgba(255,255,255,0.18); }
.section-dark .business-card .feature-tag-purple { background: rgba(139,124,247,0.2); color: #C4B5FD; }
.section-dark .business-card .feature-tag-teal { background: rgba(20,184,166,0.2); color: #5EEAD4; }
.section-dark .business-card .feature-tag-blue { background: rgba(96,165,250,0.2); color: #93C5FD; }

.section-dark .case-card { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(12px); }
.section-dark .case-card:hover { border-color: var(--purple); box-shadow: 0 0 30px rgba(123,104,238,0.2); }
.section-dark .case-card .case-name { color: #fff; }
.section-dark .case-card .case-desc { color: rgba(255,255,255,0.75); }
.section-dark .case-card .case-region { background: rgba(123,104,238,0.2); color: #C4B5FD; border-color: rgba(139,124,247,0.4); }
.section-dark .case-card .tag-purple { background: rgba(139,124,247,0.2); color: #C4B5FD; border-color: rgba(139,124,247,0.4); }
.section-dark .case-card .tag-teal { background: rgba(20,184,166,0.2); color: #5EEAD4; border-color: rgba(20,184,166,0.4); }

.section-dark .hardware-category { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,0.25); }
.section-dark .hardware-category:hover { border-color: rgba(96,165,250,0.5); }
.section-dark .hardware-category .hardware-cat-title { color: #fff; }
.section-dark .hardware-category .hardware-product-name { color: #60A5FA; }
.section-dark .hardware-category .hardware-product-desc { color: rgba(255,255,255,0.75); }
.section-dark .hardware-category .hardware-feature-tag { background: rgba(96,165,250,0.15); color: #93C5FD; border-color: rgba(96,165,250,0.3); }

.section-dark .metric-card { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); color: #fff; }
.section-dark .metric-card .metric-desc { color: rgba(255,255,255,0.75); }
.section-dark .data-item { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); }
.section-dark .data-item .data-label { color: rgba(255,255,255,0.75); }
.section-dark .stats-ribbon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
.section-dark .stats-ribbon .data-item { border-right-color: rgba(255,255,255,0.1); }
.section-dark .feature-grid-item { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); }
.section-dark .feature-grid-item h4 { color: #fff; }
.section-dark .feature-grid-item p { color: rgba(255,255,255,0.75); }
.section-dark .honor-item { background: var(--bg-dark-card); border-color: rgba(255,255,255,0.12); }
.section-dark .honor-item .honor-name { color: rgba(255,255,255,0.75); }

.section-dark .image-text-content .section-title { color: #fff; }
.section-dark .image-text-content .section-desc { color: rgba(255,255,255,0.75); }
.section-dark .image-text-content .image-text-list li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.1); }
.section-dark .image-text-content .image-text-list li::before { color: var(--cyan-light); }

/* Soft gradient sections */
.section-soft-gradient { background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 50%, #F8FAFC 100%); }
.section-soft-gradient-2 { background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 50%, #F0F9FF 100%); }
.section-soft-gradient-3 { background: linear-gradient(180deg, #F5F3FF 0%, #EDE9FE 50%, #F5F3FF 100%); }

/* --- Section Divider --- */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(139,124,247,0.25), transparent); margin: 0 auto; max-width: 300px; }

/* --- Tinted Cards (subtle color within dark sections) --- */
.card-tint-purple { background: linear-gradient(180deg, rgba(123,104,238,0.08) 0%, rgba(123,104,238,0.02) 100%); border-color: rgba(123,104,238,0.20); }
.card-tint-teal { background: linear-gradient(180deg, rgba(20,184,166,0.08) 0%, rgba(20,184,166,0.02) 100%); border-color: rgba(20,184,166,0.20); }
.card-tint-blue { background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.02) 100%); border-color: rgba(59,130,246,0.20); }
.section-dark .card-tint-purple { background: linear-gradient(180deg, rgba(123,104,238,0.15) 0%, rgba(123,104,238,0.05) 100%); border-color: rgba(139,124,247,0.35); }
.section-dark .card-tint-teal { background: linear-gradient(180deg, rgba(20,184,166,0.15) 0%, rgba(20,184,166,0.05) 100%); border-color: rgba(20,184,166,0.35); }
.section-dark .card-tint-blue { background: linear-gradient(180deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.05) 100%); border-color: rgba(59,130,246,0.35); }

/* --- Stats Ribbon --- */
.stats-ribbon { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); backdrop-filter: blur(12px); }
.stats-ribbon .data-item { border-right: 1px solid var(--border-light); border-radius: 0; border: none; background: transparent; box-shadow: none; padding: 36px 16px; }
.stats-ribbon .data-item:last-child { border-right: none; }
.stats-ribbon .data-number { font-size: 36px; margin-bottom: 8px; }
.stats-ribbon .data-label { font-size: 14px; }

/* --- Feature Split Layout --- */
.feature-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.feature-split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); }
.feature-split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.feature-split:hover .feature-split-media img { transform: scale(1.03); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-grid-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; transition: var(--transition); }
.feature-grid-item:hover { transform: translateY(-4px); border-color: rgba(139,124,247,0.3); }
.feature-grid-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.feature-grid-item h4 { font-size: 17px; color: var(--text-primary); margin-bottom: 8px; }
.feature-grid-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

@media (max-width: 1024px) {
    .stats-ribbon { grid-template-columns: repeat(3, 1fr); }
    .stats-ribbon .data-item { border-right: none; border-bottom: 1px solid var(--border-light); }
    .stats-ribbon .data-item:nth-child(3n) { border-bottom: none; }
    .feature-split { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .stats-ribbon { grid-template-columns: repeat(2, 1fr); }
    .stats-ribbon .data-item:nth-child(3n) { border-bottom: 1px solid var(--border-light); }
    .stats-ribbon .data-item:nth-child(2n) { border-bottom: none; }
}

/* --- Image + Text Block (Hisense style) --- */
.image-text-block { position: relative; overflow: visible; }
.image-text-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.image-text-layout.reverse { direction: rtl; }
.image-text-layout.reverse > * { direction: ltr; }
.image-text-media { position: relative; height: 100%; min-height: 520px; overflow: hidden; }
.image-text-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.image-text-block:hover .image-text-media img { transform: scale(1.05); }
.image-text-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,17,32,0.55) 0%, transparent 70%); }
.image-text-layout.reverse .image-text-media::after { background: linear-gradient(-90deg, rgba(11,17,32,0.55) 0%, transparent 70%); }
.image-text-content { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.image-text-content .section-badge { display: inline-block; padding: 4px 16px; font-size: 13px; border-radius: 20px; background: rgba(139,124,247,0.15); color: var(--purple); border: 1px solid rgba(139,124,247,0.3); margin-bottom: 16px; letter-spacing: 1px; font-weight: 600; width: fit-content; }
.image-text-content .section-title { font-size: 32px; color: var(--text-primary); margin-bottom: 20px; text-align: left; }
.image-text-content .section-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.8; margin-bottom: 28px; text-align: left; }
.image-text-list { list-style: none; margin-bottom: 32px; }
.image-text-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; color: var(--text-secondary); font-size: 15px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.image-text-list li::before { content: '✓'; color: var(--purple); font-weight: 700; }
.image-text-content.light .section-title { color: var(--text-dark); }
.image-text-content.light .section-desc { color: var(--text-dark-secondary); }
.image-text-content.light .image-text-list li { color: var(--text-dark-secondary); border-bottom-color: rgba(0,0,0,0.06); }
.image-text-content.light .image-text-list li::before { color: var(--purple); }

@media (max-width: 768px) {
    .image-text-layout { grid-template-columns: 1fr; min-height: auto; }
    .image-text-layout.reverse { direction: ltr; }
    .image-text-media { min-height: 280px; }
    .image-text-content { padding: 48px 24px; }
    .image-text-content .section-title { font-size: 26px; }
}


/* --- Section Base --- */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 36px; color: var(--text-primary); font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; }
.section-desc { font-size: 18px; color: var(--text-secondary); max-width: 720px; margin: 0 auto; word-break: keep-all; line-height: 1.7; text-wrap: balance; }
.section-desc .no-break, .section-desc nobr { white-space: nowrap; }
.section-badge { display: inline-block; padding: 4px 16px; font-size: 13px; border-radius: 20px; background: rgba(139,124,247,0.15); color: var(--purple); border: 1px solid rgba(139,124,247,0.3); margin-bottom: 12px; letter-spacing: 1px; font-weight: 600; }

/* --- Hero (dark overlay for bg images, keeps readability) --- */
.hero { position: relative; min-height: 700px; display: flex; align-items: center; justify-content: center; padding: 160px 24px 100px; overflow: visible; }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero/cropped/hero-bus.png') center/cover no-repeat; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,17,32,0.72) 0%, rgba(11,17,32,0.40) 45%, rgba(11,17,32,0.20) 100%); z-index: 1; pointer-events: none; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at bottom right, rgba(11,17,32,0.88) 0%, transparent 40%), radial-gradient(ellipse at 20% 50%, rgba(139,124,247,0.15) 0%, transparent 50%), radial-gradient(ellipse at 80% 20%, rgba(34,211,238,0.10) 0%, transparent 40%); z-index: 2; pointer-events: none; }
.hero-visual { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 55%; max-width: 650px; z-index: 1; opacity: 0.6; pointer-events: none; }
.hero-visual-left { position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 55%; max-width: 650px; z-index: 1; opacity: 0.6; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; max-width: 800px; }
.hero-badge { display: inline-block; padding: 6px 20px; font-size: 14px; border-radius: 24px; background: rgba(123,104,238,0.25); color: #fff; border: 1px solid rgba(139,124,247,0.6); margin-bottom: 24px; font-weight: 600; }
.hero-title { font-size: 56px; font-weight: 800; margin-bottom: 20px; letter-spacing: 3px; line-height: 1.2; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.6), 0 4px 24px rgba(0,0,0,0.5), 0 0 50px rgba(0,0,0,0.35); }
.hero-title span { color: #22d3ee; text-shadow: 0 2px 10px rgba(6,182,212,0.35), 0 0 30px rgba(6,182,212,0.25); }
.hero-subtitle { font-size: 20px; line-height: 1.8; margin-bottom: 40px; color: rgba(255,255,255,0.85); text-wrap: balance; }
.hero-actions { display: flex; gap: 10px; justify-content: flex-start; margin-bottom: 60px; flex-wrap: nowrap; }
.hero-actions .btn { padding: 10px 18px; font-size: 14px; white-space: nowrap; }
.hero-stats { display: flex; gap: 60px; justify-content: center; }
.hero-stat { text-align: center; padding: 20px; background: rgba(255,255,255,0.15); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(12px); }
.stat-number { font-size: 36px; font-weight: 800; display: block; margin-bottom: 0; }
.stat-number.purple { color: var(--purple); }
.stat-number.cyan { color: var(--cyan-light); }
.stat-number.blue { color: var(--blue); }
.stat-suffix { font-size: 26px; font-weight: 800; display: block; line-height: 1; margin: 2px 0 4px; }
.stat-suffix.purple { color: var(--purple); }
.stat-suffix.cyan { color: var(--cyan-light); }
.stat-suffix.blue { color: var(--blue); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

@media (max-width: 1100px) {
    .hero-actions { flex-wrap: wrap; justify-content: center; }
    .hero-actions .btn { padding: 8px 14px; font-size: 13px; }
}

/* --- Tech Hero Image Overlay --- */
.tech-hero-img { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.tech-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: brightness(0.6) contrast(1.2) saturate(1.3); }
.tech-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,17,32,0.3) 0%, rgba(11,17,32,0.7) 40%, rgba(11,17,32,0.92) 100%); }

/* --- Page Hero with Image --- */
.page-hero { position: relative; padding: 180px 24px 120px; text-align: center; color: #fff; overflow: visible; }
.page-hero .container { position: relative; z-index: 3; overflow: visible; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.page-hero-purple .page-hero-bg::after { background: linear-gradient(135deg, rgba(11,17,32,0.75) 0%, rgba(109,95,219,0.70) 40%, rgba(139,124,247,0.45) 100%); }
.page-hero-teal .page-hero-bg::after { background: linear-gradient(135deg, rgba(11,17,32,0.75) 0%, rgba(20,184,166,0.70) 40%, rgba(45,212,191,0.45) 100%); }
.page-hero-blue .page-hero-bg::after { background: linear-gradient(135deg, rgba(11,17,32,0.75) 0%, rgba(96,165,250,0.70) 40%, rgba(96,165,250,0.45) 100%); }
.page-hero-dark .page-hero-bg::after { background: linear-gradient(135deg, rgba(11,17,32,0.80) 0%, rgba(51,65,85,0.60) 40%, rgba(71,85,105,0.40) 100%); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse at 30% 40%, rgba(123,104,238,0.08) 0%, transparent 50%), radial-gradient(ellipse at 70% 60%, rgba(34,211,238,0.08) 0%, transparent 40%); pointer-events: none; }

/* --- Business Cards --- */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.business-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border-light); backdrop-filter: blur(12px); transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.business-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 20px 20px 0 0; }
.business-card-purple::before { background: var(--gradient-purple); box-shadow: 0 0 15px var(--purple-glow); }
.business-card-teal::before { background: var(--gradient-teal); box-shadow: 0 0 15px var(--teal-glow); }
.business-card-blue::before { background: var(--gradient-blue); box-shadow: 0 0 15px var(--blue-glow); }
.business-card:hover { transform: translateY(-6px); border-color: var(--border-accent); box-shadow: var(--shadow-glow-lg), var(--shadow-lg); }
.card-icon { width: 56px; height: 56px; margin-bottom: 20px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.business-card-purple .card-icon { background: rgba(139,124,247,0.15); color: var(--purple); }
.business-card-teal .card-icon { background: rgba(20,184,166,0.15); color: var(--teal-light); }
.business-card-blue .card-icon { background: rgba(96,165,250,0.15); color: var(--blue); }
.card-title { font-size: 24px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.card-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; text-wrap: balance; }
.card-features { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.feature-tag { display: inline-block; padding: 5px 14px; font-size: 13px; border-radius: 20px; font-weight: 500; }
.feature-tag-purple { background: rgba(139,124,247,0.15); color: var(--purple); border: 1px solid rgba(139,124,247,0.3); }
.feature-tag-teal { background: rgba(20,184,166,0.15); color: var(--teal-light); border: 1px solid rgba(20,184,166,0.3); }
.feature-tag-blue { background: rgba(96,165,250,0.15); color: var(--blue); border: 1px solid rgba(96,165,250,0.3); }

/* --- Business Card Backgrounds --- */
.card-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.78) 100%); }
.section-dark .card-bg::after { background: linear-gradient(180deg, rgba(11,17,32,0.78) 0%, rgba(11,17,32,0.88) 100%); }
.business-card:hover .card-bg { transform: scale(1.05); }

/* --- AI Showcase --- */
.ai-showcase { background: var(--bg-alt); }
.section-dark.ai-showcase { background-color: var(--bg-dark); }
.section-dark.ai-showcase .section-title { color: #fff; }
.section-dark.ai-showcase .section-desc { color: rgba(255,255,255,0.75); }
.ai-showcase .section-title { color: var(--text-primary); }
.ai-showcase .section-desc { color: var(--text-secondary); }
.ai-flow { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.ai-step { flex: 1; min-width: 220px; max-width: 280px; text-align: center; background: var(--bg-card); border-radius: var(--radius-md); padding: 28px 20px; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.step-number { font-size: 40px; font-weight: 800; color: var(--purple); opacity: 0.3; margin-bottom: 8px; }
.step-content h4 { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-secondary); }
.ai-arrow { font-size: 28px; color: var(--cyan); opacity: 0.5; font-weight: 700; }
.ai-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; text-align: center; border: 1px solid var(--border-light); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.metric-value { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.metric-value.purple { color: var(--purple); }
.metric-value.teal { color: var(--teal); }
.metric-value.blue { color: var(--blue); }
.metric-desc { font-size: 14px; color: var(--text-secondary); }
.section-dark .metric-value.purple { color: #A78BFA; }
.section-dark .metric-value.teal { color: var(--teal-light); }
.section-dark .metric-value.blue { color: #60A5FA; }

/* --- Data Achievements --- */
.data-achievements { background: var(--bg-main); }
.data-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.data-item { text-align: center; padding: 28px 12px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.data-number { font-size: 32px; font-weight: 800; color: var(--cyan); margin-bottom: 4px; }
.data-label { font-size: 14px; color: var(--text-secondary); }

/* --- Case Highlights --- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--border-light); transition: var(--transition); box-shadow: var(--shadow-sm); }
.case-card:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--shadow-glow); }
.case-region { font-size: 12px; padding: 4px 12px; border-radius: 20px; background: rgba(139,124,247,0.15); color: var(--purple); margin-bottom: 14px; border: 1px solid rgba(139,124,247,0.3); }
.case-name { font-size: 20px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.case-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; text-wrap: balance; }
.case-tags { display: flex; gap: 8px; }
.tag-purple { background: rgba(139,124,247,0.15); color: var(--purple); padding: 4px 12px; font-size: 12px; border-radius: 20px; border: 1px solid rgba(139,124,247,0.3); }
.tag-teal { background: rgba(20,184,166,0.15); color: var(--teal-light); padding: 4px 12px; font-size: 12px; border-radius: 20px; border: 1px solid rgba(20,184,166,0.3); }
.case-more { text-align: center; margin-top: 36px; }

/* --- Honors --- */
.honors-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.honor-item { text-align: center; padding: 24px 8px; background: var(--bg-card); border-radius: var(--radius-md); border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.honor-icon { font-size: 40px; margin-bottom: 10px; }
.honor-name { font-size: 14px; color: var(--text-secondary); font-weight: 500; }

/* --- CTA (bright gradient section) --- */
.cta-section { position: relative; padding: 100px 0; overflow: hidden; background: linear-gradient(135deg, #0B1120 0%, #1E293B 50%, #0F172A 100%); }
.cta-section .cta-title { color: #fff; }
.cta-section .cta-desc { color: rgba(255,255,255,0.75); }
.cta-section .cta-phone { color: rgba(255,255,255,0.55); }
.cta-content { text-align: center; }
.cta-title { font-size: 40px; font-weight: 700; margin-bottom: 20px; color: var(--text-primary); }
.cta-desc { font-size: 18px; color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; text-wrap: balance; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 20px; }
.cta-phone { font-size: 15px; color: var(--text-muted); }

/* --- Footer (clean light) --- */
.footer { background: #0B1120; border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 0 24px; color: #fff; }
.footer-heading { color: #fff; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--cyan-light); }
.footer-desc { color: #fff; }
.footer-slogan { color: #fff; }
.footer-bottom { color: rgba(255,255,255,0.65); border-top-color: rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { height: 120px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: #fff; margin-bottom: 8px; }
.footer-slogan { font-size: 14px; color: #fff; }
.footer-heading { font-size: 16px; color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--cyan-light); }
.footer-bottom { border-top: 1px solid var(--border-light); padding-top: 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-icp { text-align: center; font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 8px; }
.footer-icp a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-icp a:hover { color: var(--cyan-light); }

/* --- Glow Divider --- */
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--purple), transparent); margin: 0 auto; max-width: 200px; box-shadow: 0 0 10px var(--purple-glow); }

/* --- Number Counter Animation --- */
.count-up { display: inline-block; }

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 1024px) {
    .business-grid { grid-template-columns: repeat(2, 1fr); }
    .business-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .data-grid { grid-template-columns: repeat(3, 1fr); }
    .honors-grid { grid-template-columns: repeat(3, 1fr); }
    .ai-metrics { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hardware-grid-wrap { grid-template-columns: repeat(2, 1fr); }
    .hardware-grid-wrap .hardware-category:nth-child(4),
    .hardware-grid-wrap .hardware-category:nth-child(5) { justify-self: auto; }
    .case-detail-grid { grid-template-columns: 1fr; }
    .media-coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .coverage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .scenario-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-ribbon { grid-template-columns: repeat(3, 1fr); }
    .stats-ribbon .data-item { border-right: none; border-bottom: 1px solid var(--border-light); }
    .stats-ribbon .data-item:nth-child(3n) { border-bottom: none; }
    .feature-split { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .image-text-layout { grid-template-columns: 1fr; min-height: auto; }
    .image-text-layout.reverse { direction: ltr; }
    .image-text-media { min-height: 320px; }
    .image-text-content { padding: 48px 32px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; position: fixed; top: 80px; left: 0; width: 100%; background: rgba(255,255,255,0.98); padding: 16px 24px; box-shadow: var(--shadow-md); flex-direction: column; gap: 8px; border-bottom: 1px solid var(--border-light); backdrop-filter: blur(20px); max-height: calc(100vh - 80px); overflow-y: auto; }
    .nav-menu.show { display: flex; }
    .nav-toggle { display: block; }
    .nav-actions { display: none; }
    
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 0;
        visibility: hidden;
        display: none;
        max-height: 0;
        overflow: hidden;
        background: rgba(248, 250, 252, 0.98);
        border: 1px solid var(--border-light);
        box-shadow: none;
        min-width: 100%;
        margin-top: 8px;
        padding: 0;
        transition: all 0.3s ease;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: block;
        max-height: 500px;
        padding: 8px;
        transform: none !important;
        pointer-events: auto;
    }
    .nav-dropdown-menu::before { display: none; }
    .nav-dropdown-item {
        border-bottom: 1px solid rgba(0,0,0,0.04);
        border-radius: 0;
        white-space: normal;
    }
    .nav-dropdown-item:last-child { border-bottom: none; }
    .nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }
    
    .hero { min-height: auto; padding: 120px 24px 60px; }
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-number { font-size: 24px; }
    .stat-suffix { font-size: 18px; }
    .hero-layout { flex-direction: column; }
    .hero-layout-right { width: 100%; }
    .hero-tech-card { max-width: 100%; }
    .case-detail-grid { grid-template-columns: 1fr; }
    .case-detail-grid[style*="repeat(3"] { grid-template-columns: 1fr !important; }
    .case-data-grid { grid-template-columns: repeat(2, 1fr); }
    .case-data-number { font-size: 18px; white-space: nowrap; }
    .ai-step { min-width: 100%; max-width: 100%; }
    .ai-flow { gap: 16px; }
    .business-grid.four-col { grid-template-columns: 1fr; }
    
    .section { padding: 60px 0; }
    .section-title { font-size: 26px; }
    .section-desc { font-size: 15px; }
    
    .business-grid { display: block; height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; gap: 0; }
    .business-card { height: 100vh; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 24px; border-radius: 0; text-align: left; scroll-snap-align: start; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .business-card::before { top: 0; left: 0; right: 0; width: 100%; height: 4px; border-radius: 0; }
    .business-card .card-bg { display: block; }
    .business-card .card-icon { width: 64px; height: 64px; margin-bottom: 24px; font-size: 32px; border-radius: var(--radius-md); flex-shrink: 0; }
    .business-card-content { max-width: 520px; width: 100%; }
    .card-title { font-size: 26px; margin-bottom: 14px; }
    .card-desc { font-size: 15px; line-height: 1.8; margin-bottom: 22px; }
    .card-features { margin-bottom: 22px; gap: 8px; }
    .card-features .feature-tag { font-size: 13px; padding: 5px 14px; }
    .business-card .btn-sm { font-size: 14px; padding: 11px 22px; }
    .case-grid { grid-template-columns: 1fr; }
    .data-grid { grid-template-columns: repeat(2, 1fr); }
    .honors-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-metrics { grid-template-columns: 1fr; }
    .ai-flow { flex-direction: column; }
    .ai-arrow { transform: rotate(90deg); }
    
    .footer-grid { grid-template-columns: 1fr; }
    .cta-title { font-size: 26px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
    
    .logo-img { height: 100px; }
    .navbar.scrolled .logo-img { height: 72px; }
    .nav-container { height: 80px; }
    .footer-logo { height: 80px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 26px; }
    .data-grid { grid-template-columns: 1fr 1fr; }
    .honors-grid { grid-template-columns: 1fr 1fr; }
    .case-data-grid { grid-template-columns: 1fr; }
    .nav-menu { top: 68px; max-height: calc(100vh - 68px); }
    .logo-img { height: 80px; }
    .navbar.scrolled .logo-img { height: 60px; }
    .nav-container { height: 68px; }
    .mode-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr; }
    .photo-gallery { grid-template-columns: 1fr; }
    .case-photo-grid { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 24px; }
    .hero-actions { gap: 8px; }
    .hero-actions .btn { padding: 8px 14px; font-size: 13px; }
    .hero-layout { flex-direction: column; gap: 20px; }
    .hero-layout-right { width: 100%; }
    .hero-tech-card { max-width: 100%; padding: 24px; }
    .hero-video-card { max-width: 100%; padding: 18px; }
    .hero-video-title { font-size: 17px; }
    .cta-title { font-size: 22px; }
    .section-title { font-size: 24px; }
    .section-desc { font-size: 14px; }
    .section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-logo { height: 70px; }
    .image-text-content { padding: 36px 20px; }
    .image-text-content .section-title { font-size: 22px; }
    .image-text-media { min-height: 220px; }
    .case-card { padding: 20px; }
    .case-name { font-size: 18px; }
    .business-card { padding: 32px 20px; }
    .card-title { font-size: 20px; }
    .hero-stats { gap: 12px; }
    .hero-stat { padding: 14px; }
    .stat-number { font-size: 22px; }
    .stat-suffix { font-size: 16px; }
    .stat-label { font-size: 12px; }
    .news-item { grid-template-columns: 1fr; }
    .news-item-content { padding: 16px; }
    .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 13px; }
    .video-play-btn { width: 56px; height: 56px; }
    .video-play-btn::after { font-size: 20px; }
    .nav-dropdown-menu { min-width: auto; }
    .hardware-grid-wrap { grid-template-columns: 1fr; }
    .hardware-grid-wrap .hardware-category:nth-child(4),
    .hardware-grid-wrap .hardware-category:nth-child(5) { justify-self: auto; }
    .hardware-img-grid { grid-template-columns: 1fr; }
}

/* --- Windows DPI scaling: limit max-width for ultra-wide screens --- */
@media (min-width: 1600px) {
    .container { max-width: 1300px; }
}

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

/* --- Table scroll hint (mobile) --- */
.table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.table-scroll-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(to right, transparent, rgba(11,17,32,0.3));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
    .table-scroll-wrapper::after { opacity: 1; }
}
.nav-overlay { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.35); backdrop-filter: blur(2px); opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.show { display: block; opacity: 1; }
@media (min-width: 769px) { .nav-overlay { display: none !important; } }

/* --- Hardware Section --- */
.hardware-section { padding: 100px 0; }
.hardware-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hardware-grid-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hardware-grid-wrap .hardware-category:nth-child(4) { justify-self: end; }
.hardware-grid-wrap .hardware-category:nth-child(5) { justify-self: start; }
.hardware-category { background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border-light); transition: var(--transition); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.hardware-category::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 20px 20px 0 0; background: var(--gradient-blue); }
.hardware-category:hover { transform: translateY(-6px); border-color: rgba(96,165,250,0.4); box-shadow: 0 0 30px var(--blue-glow), var(--shadow-lg); }
.hardware-cat-title { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hardware-cat-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(96,165,250,0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.hardware-product { padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.hardware-product:last-child { border-bottom: none; }
.hardware-product-name { font-size: 16px; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.hardware-product-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; text-wrap: balance; }
.hardware-product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hardware-feature-tag { padding: 3px 10px; font-size: 12px; border-radius: 16px; background: rgba(96,165,250,0.15); color: var(--blue); border: 1px solid rgba(96,165,250,0.3); }
.hardware-img-section { padding: 80px 0; }
.hardware-img-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hardware-img-card { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-md); }
.hardware-img-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hardware-img-card img { width: 100%; height: 420px; object-fit: contain; object-position: top; background: #fff; display: block; padding-top: 50px; padding-bottom: 30px; box-sizing: border-box; }
.hardware-img-card:hover img { transform: scale(1.03); }
.hardware-img-info { padding: 24px; }
.hardware-img-info h4 { font-size: 18px; color: var(--text-primary); margin-bottom: 8px; }
.hardware-img-info p { font-size: 14px; color: var(--text-secondary); }

/* --- Tech Illustration (SVG-based hero visuals) --- */
.tech-illustration { position: absolute; z-index: 1; opacity: 0.4; pointer-events: none; }
.tech-illustration-right { right: 5%; top: 15%; width: 45%; max-width: 500px; }
.tech-illustration-left { left: 5%; top: 15%; width: 45%; max-width: 500px; }

/* --- Hero Layout with Image --- */
.hero-layout { display: flex; align-items: center; gap: 40px; position: relative; z-index: 2; }
.hero-layout-left { flex: 1; }
.hero-layout-right { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.hero-video-card { width: 100%; max-width: 400px; background: rgba(255,255,255,0.18); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.22); padding: 24px; }
.hero-video-header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.hero-video-badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 12px; font-size: 12px; border-radius: 20px; background: rgba(220,38,38,0.2); color: #FCA5A5; border: 1px solid rgba(220,38,38,0.4); font-weight: 600; }
.hero-video-badge::before { content: '●'; color: #EF4444; font-size: 8px; }
.hero-video-title { font-size: 20px; color: #fff; font-weight: 700; }
.hero-video-wrap { position: relative; z-index: 3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,0.12); background: rgba(11,17,32,0.4); }
.hero-video-wrap video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.hero-tech-card { background: rgba(255,255,255,0.15); border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(16px); padding: 32px; width: 100%; max-width: 400px; }
.hero-tech-card h3 { font-size: 20px; color: #06B6D4; margin-bottom: 20px; font-weight: 700; }
.hero-tech-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.hero-tech-item:last-child { border-bottom: none; }
.hero-tech-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--purple); }
.hero-tech-dot.cyan { background: #06B6D4; }
.hero-tech-dot.blue { background: var(--blue); }
.hero-tech-item span { font-size: 16px; color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
    .hero-layout { flex-direction: column; }
    .hero-layout-right { width: 100%; }
    .hero-tech-card { max-width: 100%; }
    .hardware-grid { grid-template-columns: 1fr; }
    .hardware-grid-wrap { grid-template-columns: 1fr; }
    .hardware-grid-wrap .hardware-category:nth-child(4),
    .hardware-grid-wrap .hardware-category:nth-child(5) { justify-self: auto; }
    .hardware-img-grid { grid-template-columns: 1fr; }
}

/* --- Scenario Grid --- */
.page-hero-title { font-size: 42px; font-weight: 800; margin-bottom: 16px; color: #fff; }
.page-hero-desc { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 800px; margin: 0 auto; line-height: 1.9; text-wrap: balance; padding-bottom: 20px; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scenario-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,0.12); transition: var(--transition); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .scenario-card h4 { color: #fff; }
.section-dark .scenario-card p { color: rgba(255,255,255,0.75); }
.section-dark .scenario-icon { background: rgba(139,124,247,0.2); color: #C4B5FD; }
.scenario-card:hover { border-color: var(--purple); box-shadow: var(--shadow-glow), var(--shadow-md); }
.scenario-icon { width: 44px; height: 44px; background: rgba(139,124,247,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 22px; color: var(--purple); }
.scenario-card h4 { font-size: 20px; color: var(--text-primary); margin-bottom: 10px; }
.scenario-card p { font-size: 15px; color: var(--text-secondary); }

/* --- Mode Grid --- */
.mode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mode-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; text-align: center; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .mode-card h4 { color: #fff; }
.section-dark .mode-card .mode-tags { color: rgba(255,255,255,0.75); }
.mode-card h4 { font-size: 18px; color: var(--text-primary); margin-bottom: 8px; white-space: nowrap; }
.mode-card .mode-tags { font-size: 13px; color: var(--text-secondary); }

/* --- Algorithm Section --- */
.algorithm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.algorithm-diagram { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 36px; border: 1px solid rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(12px); }
.algorithm-results { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 36px; border: 1px solid rgba(139,124,247,0.4); color: #fff; backdrop-filter: blur(12px); }
.section-dark .algorithm-diagram .result-label { color: rgba(255,255,255,0.75); }
.section-dark .algorithm-diagram .result-value { color: var(--cyan-light); }
.result-item { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.result-label { font-size: 16px; color: var(--text-secondary); }
.result-value { font-size: 16px; font-weight: 700; color: var(--cyan); }

/* --- Three-精 Section --- */
.sanjing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sanjing-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 32px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .sanjing-card h4 { color: #fff; }
.section-dark .sanjing-card p { color: rgba(255,255,255,0.75); }
.section-dark .sanjing-card .card-num { color: var(--teal-light); opacity: 0.15; }
.sanjing-card .card-num { font-size: 52px; font-weight: 800; color: var(--teal-light); opacity: 0.12; }
.sanjing-card h4 { font-size: 22px; color: var(--text-primary); margin-bottom: 10px; }
.sanjing-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* --- Three-化 Section --- */
.sanhua-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sanhua-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 32px; border: 1px solid rgba(255,255,255,0.12); border-left: 4px solid var(--teal-light); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .sanhua-card h4 { color: var(--teal-light); }
.section-dark .sanhua-card p { color: rgba(255,255,255,0.75); }
.sanhua-card h4 { font-size: 20px; color: var(--teal-light); margin-bottom: 10px; }
.sanhua-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* --- Comparison Table --- */
.comparison-table { width: 100%; border-collapse: collapse; background: var(--bg-dark-card); color: #fff; }
.comparison-table th { background: rgba(20,184,166,0.25); color: #5EEAD4; padding: 14px 18px; font-size: 15px; text-align: left; border: 1px solid rgba(20,184,166,0.4); white-space: nowrap; }
.comparison-table td { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 15px; color: rgba(255,255,255,0.75); white-space: nowrap; }
.comparison-table tr:hover td { background: rgba(20,184,166,0.12); }

/* --- Coverage Map --- */
.coverage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.coverage-region { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .coverage-region h4 { color: var(--purple); }
.section-dark .coverage-region li { color: rgba(255,255,255,0.75); }
.coverage-region h4 { font-size: 17px; color: var(--purple); margin-bottom: 14px; font-weight: 700; }
.coverage-region li { font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; padding-left: 8px; }

/* --- Timeline --- */
.timeline { max-width: 600px; margin: 0 auto; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 24px; }
.timeline-year { font-size: 22px; font-weight: 700; color: var(--purple); min-width: 80px; }
.timeline-content { font-size: 16px; color: var(--text-secondary); }
.section-dark .timeline-content { color: rgba(255,255,255,0.75); }
.timeline-products-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.10);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: var(--radius-md);
}
.timeline-product-item {
    font-size: 14px;
    color: #F59E0B;
    font-weight: 600;
    padding: 6px 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.30);
    border-radius: 20px;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .timeline-products-box { padding: 12px; gap: 8px; }
    .timeline-product-item { font-size: 13px; padding: 5px 10px; }
}

/* --- Subpage responsive --- */
@media (max-width: 768px) {
    .page-hero { padding: 140px 24px 80px; }
    .page-hero-title { font-size: 28px; }
    .page-hero-desc { font-size: 15px; }
    .scenario-grid { grid-template-columns: 1fr; }
    .mode-grid { grid-template-columns: repeat(2, 1fr); }
    .algorithm-grid { grid-template-columns: 1fr; }
    .sanjing-grid { grid-template-columns: 1fr; }
    .sanhua-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: repeat(2, 1fr); }
    .table-scroll-wrapper { margin: 0 -16px; padding: 0 16px; }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .case-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .case-photo-item { aspect-ratio: 16/10; }
    .video-grid, .media-featured { grid-template-columns: 1fr; }
    .video-player-card video { aspect-ratio: 4/3; }
    .news-item-media { min-height: 200px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .mode-grid { grid-template-columns: 1fr; }
    .coverage-grid { grid-template-columns: 1fr; }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--purple-glow); }
    50% { box-shadow: 0 0 40px var(--purple-glow); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.fade-in { animation: fadeInUp 0.8s ease forwards; }
.glow-pulse { animation: glowPulse 3s ease-in-out infinite; }

/* --- Scroll Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Service Model Icons --- */
.service-model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-model-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; text-align: center; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.section-dark .service-model-card h4 { color: #fff; }
.section-dark .service-model-card p { color: rgba(255,255,255,0.75); }
.service-model-card .model-icon { font-size: 44px; margin-bottom: 14px; }
.service-model-card h4 { font-size: 20px; margin-bottom: 8px; color: var(--text-primary); }
.service-model-card p { font-size: 15px; color: var(--text-secondary); }

/* --- Case Detail --- */
.case-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.case-detail-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.case-detail-card h4 { font-size: 20px; color: var(--purple); margin-bottom: 14px; }
.case-data-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.case-data-item { text-align: center; padding: 20px 12px; background: var(--bg-dark-card); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(12px); }
.section-dark .case-data-item .case-data-label { color: rgba(255,255,255,0.75); }
.case-data-number { font-size: 20px; font-weight: 800; color: var(--cyan); white-space: nowrap; }
.case-data-label { font-size: 12px; color: var(--text-secondary); white-space: nowrap; }

@media (max-width: 768px) {
    .case-data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-data-number { font-size: 18px; white-space: normal; }
    .case-data-label { font-size: 12px; white-space: normal; line-height: 1.4; }
}
@media (max-width: 480px) {
    .case-data-grid { grid-template-columns: 1fr; }
    .case-data-item { padding: 16px 8px; }
    .case-data-number { font-size: 20px; }
    .case-data-label { font-size: 13px; }
}

/* --- Contact Form --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-info-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.contact-form-card { background: var(--bg-dark-card); border-radius: var(--radius-md); padding: 28px; border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); color: #fff; }
.form-group { margin-bottom: 16px; }
.form-label { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.form-input { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); color: #fff; font-size: 15px; }
.form-input::placeholder { color: rgba(255,255,255,0.45); }
.form-input:focus { border-color: var(--purple); box-shadow: 0 0 12px var(--purple-glow); outline: none; }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* --- Section Backgrounds (with hero-style images) --- */
.section-with-bg { position: relative; overflow: hidden; }
.section-bg-img { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.12; }
.section-with-bg .container { position: relative; z-index: 1; }

/* =========================================
   Section Divider — Clean White Line
   ========================================= */
.section-divider { height: 2px; background: linear-gradient(90deg, transparent 5%, rgba(139,124,247,0.15) 20%, rgba(139,124,247,0.3) 50%, rgba(139,124,247,0.15) 80%, transparent 95%); margin: 0 auto; max-width: 70%; }
.section-divider-light { background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.08) 80%, transparent 95%); }

/* Keep spacer variants for explicit spacing needs */
.section-spacer { height: 60px; }
.section-spacer-xl { height: 100px; }
.section-spacer-sm { height: 30px; }

/* =========================================
   Video / Media Player Styles
   ========================================= */
.video-player-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-lg); background: var(--bg-deep); }
.video-player-card video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: contain; }
.video-poster-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11,17,32,0.45); cursor: pointer; transition: var(--transition); z-index: 2; }
.video-poster-overlay:hover { background: rgba(11,17,32,0.25); }
.video-play-btn { width: 80px; height: 80px; border-radius: 50%; background: rgba(139,124,247,0.9); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 30px var(--purple-glow); transition: var(--transition); }
.video-play-btn::after { content: '▶'; color: #fff; font-size: 28px; margin-left: 6px; }
.video-poster-overlay:hover .video-play-btn { transform: scale(1.1); background: var(--purple); }
.video-link-card { position: relative; cursor: pointer; aspect-ratio: 16/9; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; display: block; border: 1px solid var(--border-light); box-shadow: var(--shadow-lg); text-decoration: none; }
.video-link-card-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #F5F3FF 0%, #EFF6FF 50%, #F0FDFA 100%); overflow: hidden; }
.video-link-wave { position: absolute; border-radius: 50%; border: 1px solid rgba(139,124,247,0.25); opacity: 0; animation: waveExpand 3.5s ease-out infinite; }
.video-link-wave.wave-1 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.video-link-wave.wave-2 { width: 320px; height: 320px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 1.2s; }
.video-link-wave.wave-3 { width: 440px; height: 440px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2.4s; }
.video-link-pulse { position: absolute; width: 80px; height: 80px; border-radius: 50%; background: rgba(139,124,247,0.15); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulseGlow 2.2s ease-in-out infinite; }
.video-link-card:hover .video-link-card-bg { background: linear-gradient(135deg, #EDE9FE 0%, #E0F2FE 50%, #CCFBF1 100%); }
@keyframes waveExpand { 0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; } }
@keyframes pulseGlow { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.35; } 50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; } }

.media-coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.media-coverage-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); text-decoration: none; }
.media-coverage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(139,124,247,0.4); }
.media-coverage-icon { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 56px; flex-shrink: 0; }
.media-coverage-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.media-coverage-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.media-coverage-content h4 { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; line-height: 1.4; }
.media-coverage-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-top: auto; }

.external-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.external-link-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-light); text-decoration: none; transition: var(--transition); }
.external-link-card:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--shadow-glow); }
.external-link-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.external-link-card h4 { font-size: 15px; color: var(--text-primary); margin-bottom: 4px; font-weight: 600; }
.external-link-card p { font-size: 13px; color: var(--text-muted); }

@media (max-width: 1024px) {
    .media-coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .media-coverage-grid { grid-template-columns: 1fr; }
    .external-links-grid { grid-template-columns: 1fr; }
    .video-link-card { min-height: 240px; }
}

.video-link-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: var(--transition); }
.video-link-card:hover .video-link-cover { transform: scale(1.03); }
.video-link-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(11,17,32,0.5); transition: var(--transition); }
.video-link-card:hover .video-link-overlay { background: rgba(11,17,32,0.35); }
.video-link-tip { margin-top: 16px; font-size: 14px; color: var(--text-primary); font-weight: 500; }
.media-coverage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.media-coverage-card:hover img { transform: scale(1.05); }
.external-link-card:hover { transform: translateY(-4px); border-color: var(--purple); box-shadow: var(--shadow-glow); }
.video-meta { margin-top: 24px; }
.video-tag { display: inline-block; padding: 4px 14px; font-size: 12px; border-radius: 20px; background: rgba(139,124,247,0.15); color: var(--purple); border: 1px solid rgba(139,124,247,0.3); margin-bottom: 12px; letter-spacing: 1px; font-weight: 600; }
.video-title { font-size: 26px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; line-height: 1.3; }
.video-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.8; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.video-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.video-card:hover { transform: translateY(-4px); border-color: rgba(139,124,247,0.3); box-shadow: var(--shadow-md); }
.video-card-thumbnail { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-deep); }
.video-card-thumbnail video { width: 100%; height: 100%; object-fit: cover; }
.video-card-thumbnail .video-play-btn { width: 56px; height: 56px; }
.video-card-thumbnail .video-play-btn::after { font-size: 20px; }
.video-card-info { padding: 20px; }
.video-card-title { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.video-card-date { font-size: 13px; color: var(--text-muted); }

.media-section { position: relative; }
.media-featured { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.media-featured-info { display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 768px) {
    .video-grid, .media-featured { grid-template-columns: 1fr; }
    .video-player-card video { aspect-ratio: 16/9; }
}

/* =========================================
   News / Press Page Styles
   ========================================= */
.news-hero { background: linear-gradient(135deg, rgba(11,17,32,0.92), rgba(139,124,247,0.22)); }
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item { display: grid; grid-template-columns: 280px 1fr; gap: 28px; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); }
.news-item:hover { border-color: rgba(139,124,247,0.35); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.news-item-media { position: relative; min-height: 180px; background: var(--bg-deep); overflow: hidden; }
.news-item-media video, .news-item-media img { width: 100%; height: 100%; object-fit: cover; }
.news-item-content { padding: 24px 24px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.news-item-tag { display: inline-block; padding: 3px 12px; font-size: 12px; border-radius: 20px; background: rgba(139,124,247,0.15); color: var(--purple); border: 1px solid rgba(139,124,247,0.3); margin-bottom: 10px; width: fit-content; }
.news-item-title { font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.news-item-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 12px; }
.news-item-date { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) {
    .news-item { grid-template-columns: 1fr; }
    .news-item-media { min-height: 200px; }
    .news-item-content { padding: 20px; }
}

/* =========================================
   Case Photos Gallery
   ========================================= */
.photo-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-gallery .photo-item { position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-deep); }
.photo-gallery .photo-item img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.5s ease; }
.photo-gallery .photo-item:hover img { transform: scale(1.05); }
.photo-gallery .photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 13px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

@media (max-width: 1100px) { .photo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    .photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 480px) { .photo-gallery { grid-template-columns: 1fr; } }


/* =========================================
   App Showcase (City App Screenshots)
   ========================================= */
.app-showcase-section .photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
    margin-top: 40px;
    justify-items: center;
    align-items: end;
}
.app-showcase-section .container {
    max-width: 1000px;
}
.app-showcase-section .photo-item {
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 280px;
}
.app-showcase-section .photo-item img {
    width: 100%;
    height: 580px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    display: block;
    padding: 0;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.20);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.app-showcase-section .photo-item:hover img {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.35);
}
.app-showcase-section .photo-caption {
    position: static;
    background: transparent;
    padding: 12px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    width: 100%;
    letter-spacing: 1px;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .app-showcase-section .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
    .app-showcase-section .photo-item { max-width: 300px; }
    .app-showcase-section .photo-item img { height: 480px; }
}
@media (max-width: 900px) {
    .app-showcase-section .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
    .app-showcase-section .photo-item { max-width: 280px; }
    .app-showcase-section .photo-item img { height: 460px; }
}
@media (max-width: 600px) {
    .app-showcase-section .photo-gallery { grid-template-columns: 1fr; gap: 16px 0; margin-top: 28px; }
    .app-showcase-section .photo-item { max-width: 320px; }
    .app-showcase-section .photo-item img { height: 500px; }
    .app-showcase-section .photo-caption { font-size: 14px; padding-top: 10px; }
}

/* 城市掠影兜底：避免移动端 IntersectionObserver 不触发导致空白 */
.app-showcase-section.reveal,
.app-showcase-section .reveal,
.app-showcase-section .photo-item.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

