/* ==========================================================================
   神晖科技 (Shenhui Tech) - CSS Stylesheet
   1:1 Strict Pixel-Perfect Replica with Full Carousel Banner Slider
   ========================================================================== */

:root {
    --primary-blue: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-hover: #1e40af;
    --cyan-accent: #06b6d4;
    --purple-accent: #8b5cf6;
    --orange-accent: #f97316;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* Badges & Section Headers */
.badge-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    background-color: #eff6ff;
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #979AA3;
    line-height: 1.75;
    letter-spacing: 0.2px;
    margin-bottom: 28px;
}

.title-underline {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 2px;
    margin: 12px auto 0 auto;
}

.highlight-num {
    color: var(--primary-blue);
    font-size: 2.5rem;
    font-weight: 800;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.btn-pill-primary {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-pill-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-hero-cta {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 12px 14px 12px 32px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.btn-hero-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform var(--transition-smooth);
}

.btn-hero-cta:hover .btn-arrow-circle {
    transform: translateX(3px);
}

.btn-white-cta {
    background-color: #ffffff;
    color: var(--primary-dark);
    padding: 14px 32px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom-color: rgba(226, 232, 240, 0.85);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.nav-community-entry {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  border: 1px solid #d6dee5;
  border-radius: 50%;
  color: #184f59;
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.nav-community-entry:hover {
  border-color: #1c7785;
  color: #0f5f6b;
  background: #f3faf9;
}

.navbar.is-scrolled {
    border-bottom-color: rgba(226, 232, 240, 0.8);
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.home-page .navbar:not(.is-scrolled) {
    border-bottom-color: transparent;
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

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

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

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

.nav-menu-item {
    position: relative;
}

.nav-submenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 168px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-menu-item:hover > .nav-submenu,
.nav-menu-item:focus-within > .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-submenu .nav-menu-item {
    display: block;
}

.nav-submenu .nav-item {
    display: block;
    width: 100%;
    padding: 9px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.nav-submenu .nav-item:hover {
    background: #eff6ff;
}

.nav-submenu .nav-submenu {
    top: -8px;
    left: calc(100% + 4px);
    transform: translate(0, -6px);
}

.nav-submenu .nav-menu-item:hover > .nav-submenu,
.nav-submenu .nav-menu-item:focus-within > .nav-submenu {
    transform: translate(0, 0);
}

.nav-item {
    font-size: 0.9rem;
    font-weight: 500 !important;
    font-synthesis: none;
    color: var(--text-body);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-smooth);
}

.nav-item:hover {
    color: var(--primary-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    background-color: var(--primary-blue);
    border-radius: 2px;
    transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-item.active {
    color: var(--primary-blue);
    /* Keep the text metrics identical to the resting state so switching pages does not move the menu. */
    font-weight: 500 !important;
}

.nav-item.active::after {
    transform: scaleX(1);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Carousel Banner Section (整体大图轮播，与顶部菜单栏 100% 贯穿无缝) */
.hero-section {
    position: relative;
    width: 100%;
    padding-top: 0; /* 允许 Hero 背景图直接延伸至页面最顶端 top: 0 */
    margin-top: 0;
}

.hero-section-no-slides .hero-floating-bar-container {
    margin-top: 0;
    padding-top: 24px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 800px;
    background: linear-gradient(180deg, #f0f7ff 0%, #e8f2fe 100%);
    overflow: hidden; /* 仅在轮播图区域裁切 slide */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 背景图片层 (强行置底 position: absolute !important，铺满整个 Hero 区域包含顶部) */
.hero-bg-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.hero-slide-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 280ms ease-out;
}

.hero-slide-bg-img.is-ready { opacity: 1; }

.hero-container {
    position: relative !important;
    z-index: 50 !important;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 76px; /* 文字向下偏移 76px 留出导航栏高度，避免遮挡 */
}

.hero-content {
    position: relative !important;
    z-index: 60 !important;
    max-width: 580px;
}

.hero-title {
    margin-bottom: 24px;
}

.title-line-1 {
    display: block;
    font-size: 3.1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.title-line-2 {
    display: block;
    font-size: 3.1rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.highlight-gradient {
    color: #2563eb;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.video-play-badge {
    position: absolute;
    bottom: 115px;
    right: 65px;
    z-index: 25;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    padding: 10px 22px 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-smooth);
}

.video-play-badge:hover {
    transform: scale(1.05);
}

.play-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* 右侧 4 个垂直轮播指示圆点 */
.hero-v-dots {
    position: absolute;
    top: 42%;
    right: 40px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 30;
}

.v-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(37, 99, 235, 0.3);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-smooth);
}

.v-dot.active {
    background-color: var(--primary-blue);
    height: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Floating Feature Bar (1:1 大气大尺寸悬浮在 Hero 底部交界处) */
.hero-floating-bar-container {
    position: relative;
    z-index: 200;
    margin-top: -76px;
    padding-bottom: 20px;
}

.hero-floating-bar {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.1), 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 36px 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.floating-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
}

.floating-feature-item:not(:last-child) {
    border-right: 1px solid #f1f5f9;
}

.floating-feature-item:first-child {
    padding-left: 0;
}

.floating-feature-item:last-child {
    padding-right: 0;
}

.feature-badge-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
    transition: transform var(--transition-smooth);
}

.uploaded-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.feature-badge-icon .uploaded-icon { width: 40px; height: 40px; flex: 0 0 40px; }
.adv-icon-box .adv-uploaded-icon { width: 28px; height: 28px; object-fit: contain; }
.step-icon-circle .process-uploaded-icon { width: 40px; height: 40px; object-fit: contain; }
.step-icon-circle { overflow: hidden; }
.step-icon-circle img.process-uploaded-icon { width: 40px; height: 40px; max-width: none; flex: 0 0 40px; object-fit: contain; }

.logo-upload {
    display: block;
    max-width: min(100%, 40vw);
    object-fit: contain;
}

.floating-feature-item:hover .feature-badge-icon {
    transform: scale(1.08);
}

.badge-blue { background-color: #eff6ff; color: #2563eb; }
.badge-cyan { background-color: #ecfeff; color: #06b6d4; }
.badge-purple { background-color: #f5f3ff; color: #8b5cf6; }
.badge-orange { background-color: #fff7ed; color: #f97316; }

.feature-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

/* Image Box Base */
.prod-img-box, .sol-img-box, .news-img-box {
    position: relative;
    overflow: hidden;
}

/* Section Layout Grids (左侧文案 Sidebar + 右侧内容卡片 Grid 布局，完美还原设计稿) */
.product-layout-grid,
.solution-layout-grid,
.partner-layout-grid,
.news-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: center;
}

.product-header-side,
.solution-header-side,
.partner-header-side,
.news-header-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.product-header-side .section-title,
.solution-header-side .section-title,
.partner-header-side .section-title,
.news-header-side .section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.product-header-side .section-subtitle,
.solution-header-side .section-subtitle,
.partner-header-side .section-subtitle,
.news-header-side .section-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 28px;
}

/* Container Divider Line (限定在 container 容器对齐范围内的淡色粗分割线，上下绝对对称 75px 大间距) */
.section-divider {
    width: 100%;
    height: 2px;
    background-color: #f1f5f9;
    border-radius: 1px;
    margin-top: 75px;
    margin-bottom: 0;
}

/* Product Section (我们的产品) */
.products-section {
    background-color: #ffffff;
    padding: 60px 0 30px 0;
}

.product-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--home-product-columns, 4), minmax(0, 1fr));
    gap: 16px;
}

.home-product-feed { min-width: 0; }
.home-product-loading[hidden],
.product-cards-grid[hidden] { display: none !important; }
.home-product-skeleton {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
}
.home-product-skeleton span {
    display: block;
    height: 185px;
    background: #f1f5f9;
}
.home-product-skeleton i {
    display: block;
    width: calc(100% - 32px);
    height: 12px;
    margin: 15px 16px 0;
    border-radius: 6px;
    background: #eef2f6;
}
.home-product-skeleton i:last-child { width: 56%; margin-bottom: 18px; }
.home-product-loading { position: relative; overflow: hidden; }
.home-product-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    animation: home-product-shimmer 1.25s ease-in-out infinite;
}
@keyframes home-product-shimmer { to { transform: translateX(100%); } }
#home-product-cards[data-ready="false"] { opacity: 0; transform: translateY(6px); }
#home-product-cards[data-ready="true"] { opacity: 1; transform: translateY(0); transition: opacity 220ms ease-out, transform 220ms cubic-bezier(.2,.75,.3,1); }
@media (prefers-reduced-motion: reduce) {
    .nav-item::after { transition: none; }
    .home-product-loading::after { animation: none; }
    #home-product-cards[data-ready] { transform: none; transition: opacity 120ms linear; }
}

@media (min-width: 769px) {
    .products-section .home-product-skeleton { min-height: 356px; }
    .products-section .home-product-skeleton span { height: 252px; }
}

@media (max-width: 768px) {
    .products-section .home-product-skeleton span { height: 132px; }
}

/* Compact, consistently framed homepage news cards. */
.home-page .news-img-box {
    height: auto;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.home-page .news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-page .news-card-body {
    padding: 13px 14px 14px;
}

.home-page .news-title {
    display: -webkit-box;
    min-height: 2.8em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.home-page .news-desc {
    -webkit-line-clamp: 1;
}

@media (max-width: 380px) {
    .products-section .home-product-skeleton span { height: 116px; }
}

.product-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.prod-img-box {
    height: 185px;
    background-color: #f8fafc;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img-box img {
    max-height: 100%;
    object-fit: contain;
}

.product-card-body {
    padding: 14px 16px 18px 16px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
}

.prod-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}

.prod-desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.prod-arrow-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all var(--transition-smooth);
}

.product-card:hover .prod-arrow-circle {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateX(3px);
}

/* Advantages Section (选择神晖科技的 4 大优势) */
.advantages-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.advantage-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef2f6;
    padding: 34px 22px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
    border-color: var(--primary-blue);
}

.adv-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 18px auto;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
    transition: transform var(--transition-smooth);
}

.advantage-card:hover .adv-icon-box {
    transform: scale(1.1);
}

.adv-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.adv-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Solutions Section (多场景应用解决方案) */
.solutions-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.solution-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.solution-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.sol-img-box {
    height: 160px;
}

.sol-card-body {
    padding: 16px;
}

.sol-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.sol-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Process Section (定制流程) */
.process-section {
    background-color: #ffffff;
    padding: 75px 0 0 0;
}

.process-steps-wrapper {
    position: relative;
    margin-top: 44px;
}

.process-line-connector {
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 2px;
    border-top: 2px dashed #bfdbfe;
    z-index: 1;
}

.process-steps-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    text-align: center;
}

.step-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin: 0 auto 18px auto;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
    transition: transform var(--transition-smooth);
}

.process-step-item:hover .step-icon-circle {
    transform: scale(1.1);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.step-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Partners Section (携手合作 共创未来 - 上下分割线绝对 75px 大间距垂直居中) */
.partners-section {
    background-color: #ffffff;
    padding: 75px 0 0 0;
}

.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.partner-logo-card {
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-smooth);
}

.partner-logo-card:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-4px);
}

.partner-logo-card strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.partner-logo-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* News Section (关注行业动态 了解最新资讯 - 上下 75px 大间距垂直居中，底部与 CTA 横幅隔开 75px) */
.news-section {
    background-color: #ffffff;
    padding: 75px 0 75px 0;
}

.news-cards-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex-grow: 1;
}

.news-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.35);
}

.news-img-box {
    height: 160px;
}

.news-card-body {
    padding: 16px;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 6px;
}

.news-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-next-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: all var(--transition-smooth);
}

.news-next-arrow:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* CTA Banner Section (如需了解更多产品与解决方案) */
.cta-banner-section {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    padding: 60px 0;
    color: #ffffff;
}

.cta-banner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-banner-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-banner-sub {
    font-size: 1rem;
    opacity: 0.9;
}

.home-cta-section {
    margin: 48px 0 56px;
    padding: 0;
    color: inherit;
    background: transparent;
}

.home-cta-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 142px;
    padding: 36px 48px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #104ad6 0%, #0036a8 100%);
    box-shadow: 0 12px 30px rgba(16, 74, 214, 0.25);
}

.home-cta-pattern { position: absolute; inset: 0; opacity: 0.15; pointer-events: none; }
.home-cta-pattern svg { display: block; width: 100%; height: 100%; }
.home-cta-card .cta-banner-content { position: relative; z-index: 1; }
.home-cta-card .cta-banner-title { margin-bottom: 8px; color: #fff; font-size: 22px; font-weight: 800; line-height: 1.35; }
.home-cta-card .cta-banner-sub { color: #cbd5e1; font-size: 14px; line-height: 1.6; opacity: 1; }

.home-cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 12px 26px;
    border-radius: 999px;
    background: #fff;
    color: #0036a8;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 700;
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.home-cta-button:hover { background: #f8fafc; box-shadow: 0 7px 18px rgba(0, 0, 0, 0.2); transform: translateX(3px); }

/* Responsive Grid */
@media (max-width: 1100px) {
    .product-layout-grid,
    .solution-layout-grid,
    .partner-layout-grid,
    .news-layout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-floating-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid, .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    /* ── 1. 隐藏多余/占用大面积组件（能力条、视频浮动角标、指示圆点） ── */
    .hero-floating-bar-container,
    .video-play-badge,
    .hero-v-dots {
        display: none !important;
    }

    /* ── 2. 顶部导航栏 Layout 精简整理 ── */
    .nav-container {
        height: 60px;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* 手机端隐藏 Logo 分隔线、副标题、右上角方案蓝按钮 */
    .logo-divider,
    .logo-sub,
    .nav-cta-btn {
        display: none !important;
    }

    .logo-title {
        font-size: 1.1rem;
        max-width: 170px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        color: var(--text-dark);
    }

    /* 下拉菜单精美卡片样式 */
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 8px 20px 20px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-menu-item {
        width: 100%;
    }

    .nav-menu-item > .nav-submenu,
    .nav-submenu .nav-submenu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 14px;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-item {
        padding: 13px 0;
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.95rem;
        font-weight: 500 !important;
        text-align: center;
        color: var(--text-dark);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-item.active {
        color: var(--primary-blue);
        font-weight: 500 !important;
    }

    .nav-item.active::after {
        display: none;
    }

    /* ── 3. Hero & 网格卡片 ── */
    .hero-container {
        grid-template-columns: 1fr;
    }

    .title-line-1, .title-line-2 {
        font-size: 1.8rem;
        grid-column: 1 / -1;
        margin-top: 8px;
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 18px 20px;
    }

    .contact-info {
        font-size: 0.82rem;
        color: #475569;
        margin-bottom: 6px;
    }

    .qr-code-box {
        width: 64px;
        height: 64px;
        font-size: 2rem;
        border-radius: 10px;
        margin-top: 10px;
    }

    .footer-bottom {
        padding: 18px 0;
        font-size: 0.72rem;
        color: #94a3b8;
        border-top: 1px solid #f1f5f9;
    }
}





/* ==========================================================================
   Scroll-Driven Reveal Animations & Interactive Dynamic Effects
   ========================================================================== */

/* Base Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    translate: 0 34px;
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), translate 0.72s cubic-bezier(0.16, 1, 0.3, 1), scale 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, translate, scale;
}

.reveal-left {
    opacity: 0;
    translate: -36px 0;
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), translate 0.72s cubic-bezier(0.16, 1, 0.3, 1), scale 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, translate, scale;
}

.reveal-right {
    opacity: 0;
    translate: 36px 0;
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), translate 0.72s cubic-bezier(0.16, 1, 0.3, 1), scale 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, translate, scale;
}

.reveal-scale {
    opacity: 0;
    translate: 0 20px;
    scale: 0.95;
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), translate 0.72s cubic-bezier(0.16, 1, 0.3, 1), scale 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, translate, scale;
}

/* Activated State when Scrolled into View */
.reveal-on-scroll.is-revealed,
.reveal-left.is-revealed,
.reveal-right.is-revealed,
.reveal-scale.is-revealed {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition-delay: var(--reveal-active-delay, 0ms);
}

/* Stagger Delays for Grid Children */
.delay-100 { --reveal-delay: 100ms; }
.delay-200 { --reveal-delay: 200ms; }
.delay-300 { --reveal-delay: 300ms; }
.delay-400 { --reveal-delay: 400ms; }
.delay-500 { --reveal-delay: 500ms; }

/* Section copy enters in layers after its parent arrives. */
.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).reveal-left > * {
    opacity: 0;
    translate: -14px 0;
    transition: opacity 0.48s ease, translate 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).is-revealed > * {
    opacity: 1;
    translate: 0 0;
}

.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).is-revealed > :nth-child(1) { transition-delay: 80ms; }
.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).is-revealed > :nth-child(2) { transition-delay: 150ms; }
.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).is-revealed > :nth-child(3) { transition-delay: 220ms; }
.home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).is-revealed > :nth-child(4) { transition-delay: 290ms; }

.home-page .section-header.reveal-on-scroll > * {
    opacity: 0;
    translate: 0 12px;
    transition: opacity 0.45s ease, translate 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page .section-header.is-revealed > * {
    opacity: 1;
    translate: 0 0;
}

.home-page .section-header.is-revealed > :nth-child(2) { transition-delay: 130ms; }

/* Enhanced Micro-Interactions & Hover Animations */
.product-card, .solution-card, .news-card, .advantage-card, .partner-logo-card {
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), translate 0.72s cubic-bezier(0.16, 1, 0.3, 1), scale 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-page :is(.product-card, .solution-card, .news-card, .advantage-card, .partner-logo-card).is-revealed {
    transition-delay: var(--reveal-active-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .home-page :is(.product-header-side, .solution-header-side, .partner-header-side, .news-header-side).reveal-left > *,
    .home-page .section-header.reveal-on-scroll > * {
        opacity: 1;
        translate: 0 0;
        scale: 1;
        transition: none;
    }
}

/* Product & Solution Image Hover Zoom */
.prod-img-box img, .sol-img-box img, .news-img-box img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .prod-img-box img,
.solution-card:hover .sol-img-box img,
.news-card:hover .news-img-box img {
    transform: scale(1.08);
}

/* Button Shimmer Light Animation */
.btn-hero-cta {
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-hero-cta:hover::before {
    left: 125%;
}

/* Step Circle Pulse Animation */
@keyframes stepPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.process-step-item.is-revealed .step-icon-circle {
    animation: stepPulse 2.5s infinite ease-in-out;
}
.library-theme-icon { display: block; width: 32px; height: 32px; flex: 0 0 32px; color: currentColor; }
.feature-badge-icon .library-theme-icon { width: 40px; height: 40px; flex-basis: 40px; }
.adv-icon-box .library-theme-icon { width: 28px; height: 28px; flex-basis: 28px; }
.step-icon-circle .library-theme-icon { width: 24px; height: 24px; flex-basis: 24px; }

/* Mobile composition pass: keep every section within the viewport and stack
   content in a predictable reading order. */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }
  .container { width: 100%; max-width: none; padding-left: 16px; padding-right: 16px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 1.65rem; line-height: 1.35; letter-spacing: 0; }
  .section-subtitle { font-size: 0.82rem; line-height: 1.7; }

  .navbar { height: 60px; }
  .nav-container { height: 60px; padding: 0 16px; }
  .logo { min-width: 0; }
  .nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; }
  .mobile-toggle { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
  .nav-links { top: 60px; padding: 4px 16px 12px; }
  .nav-item { padding: 13px 4px; text-align: left; }

  .hero-section { margin-top: 60px; }
  .hero-carousel { height: min(610px, calc(100svh - 60px)); min-height: 520px; }
  .hero-container { height: 100%; padding-top: 0; align-items: flex-end; padding-bottom: 92px; }
  .hero-content { max-width: none; width: 100%; }
  .hero-title { margin-bottom: 16px; }
  .title-line-1, .title-line-2 { display: inline; font-size: clamp(1.75rem, 8vw, 2.45rem); line-height: 1.25; background: none; border: 0; border-radius: 0; padding: 0; }
  .title-line-2 { margin-left: 0.15em; }
  .hero-subtitle { max-width: 30rem; font-size: 0.9rem; line-height: 1.75; margin-bottom: 24px; }
  .hero-action .btn-hero-cta { max-width: 100%; padding: 10px 12px 10px 22px; }
  .hero-v-dots { top: auto; right: 16px; bottom: 28px; transform: none; flex-direction: row; gap: 8px; }
  .v-dot.active { width: 24px; height: 10px; }

  .product-layout-grid, .solution-layout-grid, .partner-layout-grid, .news-layout-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .product-header-side, .solution-header-side, .partner-header-side, .news-header-side { align-items: flex-start; }
  .product-header-side .section-title, .solution-header-side .section-title, .partner-header-side .section-title, .news-header-side .section-title { font-size: 1.65rem; margin-bottom: 10px; }
  .product-cards-grid, .solution-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .news-cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card, .solution-card, .news-card { min-width: 0; }
  .prod-img-box { height: 132px; }
  .product-card-body { padding: 12px; }
  .prod-title { font-size: 0.92rem; line-height: 1.4; }
  .prod-desc { font-size: 0.74rem; line-height: 1.55; }

  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .advantage-card { padding: 18px 14px; min-height: 0; }
  .solutions-section, .process-section, .partners-section, .news-section { padding-top: 44px; padding-bottom: 44px; }
  .solution-card { border-radius: 12px; }
  .solution-img-box { height: 132px; }
  .partner-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-logo-card { padding: 14px 8px; }

  /* Targeted mobile tuning for process, partners and industry news. */
  .process-section { padding-top: 40px; padding-bottom: 40px; }
  .process-steps-wrapper { margin-top: 24px; }
  .process-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .process-line-connector { display: none; }
  .process-step-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .step-icon-circle { width: 46px; height: 46px; flex: 0 0 46px; }
  .step-title { margin-top: 0; font-size: 0.88rem; line-height: 1.35; }
  .step-desc { font-size: 0.72rem; line-height: 1.5; max-width: 11em; }

  .partners-section { padding-top: 40px; padding-bottom: 40px; }
  .partner-header-side .section-title,
  .partner-header-side .section-title[style],
  .partner-header-side .section-subtitle span[style] { white-space: normal !important; }
  .partner-header-side .section-title { line-height: 1.35; }
  .partner-header-side .section-subtitle { max-width: none; }
  .partner-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .partner-logo-card { min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .partner-logo-image { max-width: 100%; max-height: 42px; object-fit: contain; }
  .partner-logo-card strong { font-size: 0.82rem; line-height: 1.35; text-align: center; }
  .partner-logo-card span { font-size: 0.68rem; line-height: 1.35; text-align: center; }

  .news-section { padding-top: 40px; padding-bottom: 40px; }
  .news-header-side .section-title { line-height: 1.35; }
  .news-cards-wrapper { width: 100%; }
  .news-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .news-img-box { height: 118px; }
  .news-card-body { padding: 11px; }
  .news-date { font-size: 0.68rem; margin-bottom: 4px; }
  .news-title { font-size: 0.82rem; line-height: 1.4; margin-bottom: 4px; }
  .news-desc { font-size: 0.7rem; line-height: 1.5; }

  .process-section { padding-bottom: 48px; }
  .process-steps-wrapper { margin-top: 28px; }
  .process-steps-grid { grid-template-columns: 1fr; gap: 22px; }
  .process-line-connector { top: 24px; left: 24px; width: 2px; height: calc(100% - 48px); }
  .process-step-item { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; text-align: left; align-items: start; }
  .step-icon-circle { width: 50px; height: 50px; margin: 0; }
  .step-title { margin-top: 4px; font-size: 0.95rem; }
  .step-desc { font-size: 0.78rem; line-height: 1.65; }

  .news-cards-wrapper { display: block; }
  .news-next-arrow { display: none; }
  .news-img-box { height: 170px; }
  .cta-banner-section { padding: 42px 0; }
  .cta-banner-container { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-banner-title { font-size: 1.45rem; line-height: 1.35; }
  .cta-banner-sub { font-size: 0.86rem; line-height: 1.65; }
  .cta-banner-container .btn { width: 100%; justify-content: center; }

  .product-header-side, .solution-header-side, .partner-header-side, .news-header-side { margin-bottom: 2px; }
  .product-action, .solution-action, .partner-action, .news-action { width: 100%; }
  .product-action .btn, .solution-action .btn, .partner-action .btn, .news-action .btn { width: 100%; justify-content: center; }

}

@media (max-width: 380px) {
  .container { padding-left: 12px; padding-right: 12px; }
  .hero-carousel { min-height: 500px; }
  .hero-container { padding-bottom: 78px; }
  .title-line-1, .title-line-2 { font-size: 1.65rem; }
  .product-cards-grid, .solution-cards-grid, .advantages-grid { gap: 8px; }
  .prod-img-box, .solution-img-box { height: 116px; }
  .product-card-body { padding: 10px; }
  .prod-title { font-size: 0.84rem; }
  .prod-desc { font-size: 0.7rem; }
  .partner-logos-grid { gap: 8px; }
  .process-steps-grid { gap: 14px 8px; }
  .step-icon-circle { width: 42px; height: 42px; flex-basis: 42px; }
  .step-title { font-size: 0.82rem; }
  .step-desc { font-size: 0.68rem; }
  .news-cards-grid { gap: 8px; }
  .news-img-box { height: 104px; }
  .news-card-body { padding: 9px; }
  .news-title { font-size: 0.76rem; }
  .news-desc { font-size: 0.66rem; }
}

/* Footer reference implementation: copied from the supplied UI reference. */
/* Final mobile overrides for the hero and the process section. */
@media (max-width: 767px) {
    .hero-carousel {
        height: 580px;
        min-height: 0;
    }
    .hero-container {
        align-items: center;
        padding-top: 72px;
        padding-bottom: 56px;
    }
    .hero-content {
        width: min(100%, 340px);
        margin-right: auto;
    }
    .hero-title {
        max-width: 320px;
        margin-bottom: 14px;
    }
    .title-line-1, .title-line-2 {
        display: block;
        margin-left: 0;
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.28;
    }
    .hero-subtitle {
        max-width: 300px;
        font-size: 0.86rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .hero-bg-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.4) 58%, rgba(255,255,255,0.08) 100%);
        pointer-events: none;
    }

    .process-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .process-line-connector { display: none; }
    .process-step-item {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 9px;
        row-gap: 3px;
        align-items: center;
        text-align: left;
        padding: 12px 9px;
        min-height: 86px;
        border: 1px solid #e8eef7;
        border-radius: 12px;
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    }
    .step-icon-circle {
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .step-title { margin: 0; font-size: 0.82rem; line-height: 1.3; }
    .step-desc { margin: 0; max-width: none; font-size: 0.68rem; line-height: 1.45; }
}

@media (max-width: 380px) {
    .hero-carousel { height: 550px; }
    .hero-container { padding-top: 64px; }
    .hero-content { width: 100%; }
    .title-line-1, .title-line-2 { font-size: 1.72rem; }
    .process-steps-grid { gap: 9px; }
    .process-step-item { grid-template-columns: 36px minmax(0, 1fr); column-gap: 7px; padding: 10px 7px; min-height: 78px; }
    .step-icon-circle { width: 36px; height: 36px; }
    .step-title { font-size: 0.76rem; }
    .step-desc { font-size: 0.63rem; }
}

.footer-section .brand-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-section .logo-badge {
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    box-shadow: none;
    flex: 0 0 28px;
}
.footer-section .brand-text-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.footer-section .brand-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 0;
}
.footer-section {
    background-color: #ffffff;
    border-top: 0;
    padding: 48px 0 40px;
}
.footer-section > .container {
    max-width: 1440px;
    padding: 0 72px;
}
.footer-card {
    padding: 48px 48px 28px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    background-color: #f2f6fd;
    box-shadow: 0 10px 30px rgba(0, 40, 120, 0.04);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    margin-bottom: 36px;
}
.footer-col-brand .brand-logo-group { margin-bottom: 16px; }
.footer-brand-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-social-links { display: flex; align-items: center; gap: 10px; }
.social-icon-btn {
    width: 32px; height: 32px; border-radius: 50%; background-color: #ffffff;
    color: var(--primary-blue); display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.social-icon-btn:hover { transform: translateY(-2px); background-color: #edf4ff; color: var(--primary-blue); }
.footer-col-title { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; }
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: var(--text-muted); transition: color 0.2s ease; }
.footer-link:hover { color: var(--primary-blue); }
.footer-contact-box { display: block; }
.footer-contact-info { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.qr-code-wrapper { margin-top: 16px; display: block; }
.qr-code-img { width: 60px; height: 60px; background-color: #ffffff; border: 1px solid var(--border-color); padding: 3px; border-radius: 6px; }
.qr-code-text { display: none; }
.footer-copyright-bar { padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, 0.45); font-size: 12.5px; color: var(--text-muted); }
.footer-legal-text { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.footer-legal-separator { color: #94a3b8; }
.footer-copyright-bar a { color: var(--text-muted); }
.footer-copyright-bar a:hover { color: var(--primary-blue); }

@media screen and (max-width: 1200px) {
    .footer-section > .container { padding-right: 32px; padding-left: 32px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
}
@media screen and (max-width: 768px) {
    .footer-section { padding: 28px 0 24px; }
    .footer-section > .container { padding-right: 16px; padding-left: 16px; }
    .footer-card { padding: 28px 20px 20px; border-radius: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
    .footer-section .brand-title { font-size: 17px; }
    .footer-col-title { font-size: 14px; margin-bottom: 12px; }
    .footer-links-list { gap: 7px; }
    .footer-link { font-size: 12px; }
    .footer-contact-info { font-size: 12px; }
    .footer-copyright-bar { padding-top: 18px; font-size: 11.5px; line-height: 1.6; }
    .footer-legal-text { flex-direction: column; gap: 6px; }
    .footer-legal-separator { display: none; }
}

/* Homepage product rail: match the light-blue editorial reference while keeping data dynamic. */
.home-page .products-section {
    padding: 76px 0 0;
    background: #ffffff;
}
.home-page .home-products-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: center;
    min-height: 0;
    padding: 18px 0 48px;
}
.home-page .home-products-intro .product-header-side { max-width: 720px; }
.home-page .home-products-intro .section-title { font-size: clamp(2rem, 3.2vw, 3.15rem); line-height: 1.2; letter-spacing: 0; }
.home-page .home-products-intro .section-subtitle { max-width: 390px; color: #61738d; font-size: .96rem; line-height: 1.85; }
.home-page .home-products-intro .btn-hero-cta { box-shadow: 0 10px 24px rgba(37,99,235,.18); }
.home-products-intro-action { align-self: center; justify-self: end; }
.home-products-visual {
    position: relative;
    height: 310px;
    overflow: hidden;
    background: transparent;
}
.home-products-visual-image { width: 100%; height: 100%; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.home-products-orbit { position: absolute; border: 1px solid rgba(37,99,235,.23); border-radius: 50%; transform: rotate(-18deg); }
.home-products-orbit-one { width: 520px; height: 190px; left: 4%; top: 56px; }
.home-products-orbit-two { width: 470px; height: 130px; left: 10%; top: 92px; border-color: rgba(14,165,233,.3); }
.home-products-brain { position: absolute; left: 43%; top: 47px; display: grid; place-items: center; width: 148px; height: 148px; border-radius: 50%; color: #2563eb; background: rgba(255,255,255,.62); box-shadow: 0 16px 32px rgba(37,99,235,.13); font-size: 5.8rem; }
.home-products-wave { position: absolute; right: 11%; top: 48px; color: #0ea5e9; font-size: 3.2rem; transform: rotate(-8deg); animation: home-products-float 3.8s ease-in-out infinite; }
.home-products-node { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 7px rgba(37,99,235,.12); }
.home-products-node-one { left: 19%; top: 80px; }
.home-products-node-two { right: 20%; bottom: 78px; background: #0ea5e9; }
.home-products-platform { position: absolute; left: 21%; right: 13%; bottom: 46px; height: 2px; background: rgba(37,99,235,.38); transform: rotate(-8deg); box-shadow: 0 12px 0 rgba(37,99,235,.12); }
@keyframes home-products-float { 50% { translate: 0 -8px; } }
.home-page .home-product-feed { padding: 0 0 54px; }
.home-page .product-cards-grid { grid-template-columns: repeat(var(--home-product-columns, 3), minmax(0, 1fr)); gap: 22px; }
.home-page .product-card { position: relative; min-height: 330px; border: 1px solid #dcecff; border-radius: 24px; box-shadow: 0 12px 28px rgba(61,113,164,.08); }
.home-page .prod-category-icon { position: absolute; z-index: 2; left: 20px; top: 20px; display: grid; place-items: center; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; color: #2563eb; background: #e8f3ff; }
.home-page .prod-category-icon svg { width: 21px; height: 21px; }
.home-page .prod-category-icon img { width: 24px; height: 24px; object-fit: contain; }
.home-page .product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(37,99,235,.15); border-color: #b9d8fa; }
.home-page .prod-img-box { height: 214px; padding: 34px 28px 18px; background: #fff; }
.home-page .prod-img-box img { width: 100%; height: 100%; object-fit: contain; }
.home-page .product-placeholder-icon { color: #9ac4ee; font-size: 4.4rem; }
.home-page .product-card-body { min-height: 116px; padding: 17px 20px 20px; border-top: 1px solid #eef5fc; }
.home-page .prod-title { font-size: 1.04rem; }
.home-page .prod-desc { font-size: .82rem; }
.home-page .prod-arrow-circle { width: 38px; height: 38px; background: #edf6ff; }
.home-products-benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #dbeafa; background: #fff; }
.home-products-benefit { display: flex; align-items: center; gap: 13px; min-height: 98px; padding: 18px 24px; border-right: 1px solid #e5eff9; }
.home-products-benefit:last-child { border-right: 0; }
.home-products-benefit-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; color: #2563eb; background: #eaf4ff; }
.home-products-benefit h3 { margin: 0 0 4px; color: #12325b; font-size: .96rem; }
.home-products-benefit p { margin: 0; color: #7990aa; font-size: .76rem; line-height: 1.4; }
.home-page .advantages-section { display: none !important; }
@media (max-width: 900px) {
    .home-page .home-products-intro { grid-template-columns: 1fr; gap: 28px; }
    .home-products-intro-action { justify-self: start; }
    .home-products-visual { height: 250px; }
    .home-products-brain { left: 38%; top: 42px; transform: scale(.82); }
}
@media (max-width: 600px) {
    .home-page .products-section { padding-top: 46px; }
    .home-page .home-products-intro { min-height: 0; padding: 0 0 30px; }
    .home-page .home-products-intro .section-title { font-size: 2rem; }
    .home-products-visual { height: 205px; }
    .home-products-brain { left: 32%; top: 28px; transform: scale(.62); }
    .home-products-wave { right: 9%; top: 28px; font-size: 2.3rem; }
    .home-products-orbit-one { width: 360px; height: 130px; left: -2%; top: 48px; }
    .home-products-orbit-two { width: 320px; height: 92px; left: 7%; top: 70px; }
    .home-page .home-product-feed { padding-bottom: 30px; }
    .home-page .product-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .home-page .product-card { min-height: 250px; border-radius: 18px; }
    .home-page .prod-category-icon { left: 12px; top: 12px; width: 32px; height: 32px; }
    .home-page .prod-category-icon svg { width: 17px; height: 17px; }
    .home-page .prod-category-icon img { width: 19px; height: 19px; }
    .home-page .prod-img-box { height: 148px; padding: 26px 14px 12px; }
    .home-page .product-card-body { min-height: 102px; padding: 12px; }
    .home-page .prod-title { font-size: .88rem; }
    .home-page .prod-desc { font-size: .7rem; }
    .home-page .prod-arrow-circle { width: 30px; height: 30px; }
    .home-products-benefits { grid-template-columns: repeat(2, 1fr); }
    .home-products-benefit { min-height: 82px; padding: 13px 12px; gap: 8px; }
    .home-products-benefit-icon { width: 30px; height: 30px; flex-basis: 30px; font-size: .75rem; }
    .home-products-benefit h3 { font-size: .8rem; }
    .home-products-benefit p { font-size: .65rem; }
    .home-products-benefit:nth-child(2) { border-right: 0; }
    .home-products-benefit:nth-child(3) { border-right: 0; }
}

/* Highlights editable elements only inside the page-builder preview iframe. */
.theme-editor-target {
    position: relative;
    cursor: pointer;
    outline: 1px dashed rgba(37, 99, 235, 0.42);
    outline-offset: 3px;
}

.theme-editor-target:hover {
    outline: 2px solid rgba(37, 99, 235, 0.95);
    outline-offset: 4px;
}

.social-popup[hidden] {
    display: none;
}

.social-popup {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.social-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.social-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 28px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.social-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.social-popup-dialog h3 {
    margin: 0 28px 14px;
    color: #0f172a;
    font-size: 18px;
}

.social-popup-dialog img {
    display: block;
    width: min(280px, 100%);
    margin: 0 auto 16px;
    border-radius: 4px;
    cursor: zoom-in;
    transition: width 180ms ease;
}

.social-popup.image-expanded .social-popup-dialog {
    width: min(680px, 100%);
}

.social-popup.image-expanded .social-popup-dialog img {
    width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    cursor: zoom-out;
}

.social-popup-dialog p {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.7;
    white-space: pre-wrap;
}

.social-popup-dialog [hidden] {
    display: none !important;
}

.privacy-modal-open { overflow: hidden; }
.privacy-policy-modal[hidden] { display: none !important; }
.privacy-policy-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px; }
.privacy-policy-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .58); }
.privacy-policy-dialog { position: relative; display: flex; flex-direction: column; width: min(900px, 100%); max-height: min(820px, calc(100vh - 40px)); overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .3); }
.privacy-policy-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-bottom: 1px solid #e5e7eb; }
.privacy-policy-dialog-header h2 { margin: 0; color: #111827; font-size: 20px; }
.privacy-policy-close { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 6px; background: transparent; color: #64748b; cursor: pointer; font-size: 18px; }
.privacy-policy-close:hover, .privacy-policy-close:focus-visible { background: #f1f5f9; color: #111827; outline: none; }
.privacy-policy-dialog-body { overflow: auto; padding: 24px; color: #334155; line-height: 1.8; }
.privacy-policy-dialog-body .article-body { max-width: none; }
.privacy-policy-loading { margin: 0; color: #64748b; text-align: center; }
@media (max-width: 600px) { .privacy-policy-modal { padding: 10px; }.privacy-policy-dialog { max-height: calc(100vh - 20px); }.privacy-policy-dialog-header, .privacy-policy-dialog-body { padding-left: 18px; padding-right: 18px; } }

/* Give the primary homepage modules room to breathe without changing card density. */
@media (min-width: 769px) {
    .products-section {
        padding: 88px 0 52px;
    }

    .advantages-section,
    .solutions-section {
        padding: 84px 0;
    }

    .process-section,
    .partners-section {
        padding-top: 92px;
    }

    .news-section {
        padding: 92px 0;
    }

    .cta-banner-section {
        padding: 76px 0;
    }

    .section-divider {
        margin-top: 92px;
    }

    .advantages-grid {
        margin-top: 48px;
    }

    .process-steps-wrapper {
        margin-top: 52px;
    }
}

@media (max-width: 768px) {
    .products-section,
    .advantages-section,
    .solutions-section,
    .process-section,
    .partners-section,
    .news-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .section-divider {
        margin-top: 52px;
    }

    .home-cta-section { margin: 32px 0 40px; padding: 0; }
    .home-cta-card { min-height: 0; align-items: flex-start; flex-direction: column; gap: 22px; padding: 28px 24px; }
    .home-cta-card .cta-banner-title { font-size: 1.35rem; }
    .home-cta-button { width: 100%; }
}

/* Rebalance the homepage around more expressive media, not oversized empty space. */
@media (min-width: 769px) {
    .product-layout-grid,
    .solution-layout-grid,
    .partner-layout-grid,
    .news-layout-grid {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 44px;
    }

    .products-section {
        padding: 84px 0 52px;
    }

    .products-section .product-layout-grid {
        grid-template-columns: 350px minmax(0, 1fr);
        gap: 52px;
        align-items: center;
    }

    .products-section .product-header-side .section-title {
        font-size: 2.2rem;
        line-height: 1.28;
        margin-bottom: 20px;
    }

    .products-section .product-header-side .section-subtitle {
        max-width: 330px;
        font-size: 0.95rem;
        line-height: 1.75;
        margin-bottom: 32px;
    }

    .products-section .product-cards-grid {
        grid-template-columns: repeat(var(--home-product-columns, 4), minmax(0, 1fr));
        gap: 22px;
    }

    .products-section .prod-img-box {
        height: 252px;
        padding: 24px;
    }

    .products-section .product-card-body {
        min-height: 146px;
        padding: 18px 20px 20px;
    }

    .products-section .prod-title {
        font-size: 1.08rem;
        margin-bottom: 6px;
    }

    .products-section .prod-desc {
        font-size: 0.84rem;
        line-height: 1.5;
        min-height: 3em;
    }

    .advantages-section,
    .solutions-section {
        padding: 72px 0;
    }

    .process-section,
    .partners-section,
    .news-section {
        padding-top: 80px;
    }

    .news-section {
        padding-bottom: 80px;
    }

    .cta-banner-section {
        padding: 68px 0;
    }

    .section-divider {
        margin-top: 76px;
    }

    .prod-img-box {
        height: 210px;
        padding: 20px;
    }

    .sol-img-box,
    .news-img-box {
        height: 190px;
    }

    .advantages-grid {
        margin-top: 40px;
    }

    .process-steps-wrapper {
        margin-top: 44px;
    }
}

@media (max-width: 768px) {
    .products-section,
    .advantages-section,
    .solutions-section,
    .process-section,
    .partners-section,
    .news-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .prod-img-box {
        height: 156px;
    }

    .sol-img-box {
        height: 132px;
    }

    .news-img-box {
        height: 128px;
    }
}

/* Make the advantages module a stronger visual anchor. */
.partner-logos-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.partner-marquee-row {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partner-logo-track {
    display: flex;
    width: max-content;
    max-width: none;
    will-change: transform;
}

.partner-logo-sequence {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    padding-right: 16px;
}

.partner-logo-track .partner-logo-card {
    width: 172px;
    min-width: 172px;
    min-height: 112px;
}

.partner-logo-track-left.is-marquee-ready {
    animation: partnerTrackLeft var(--partner-marquee-duration, 34s) linear infinite;
}

.partner-logo-track-right.is-marquee-ready {
    animation: partnerTrackRight var(--partner-marquee-duration, 34s) linear infinite;
}

.partner-logos-grid:hover .partner-logo-track {
    animation-play-state: paused;
}

@keyframes partnerTrackLeft {
    from { transform: translateX(0); }
    to { transform: translateX(var(--partner-marquee-offset)); }
}

@keyframes partnerTrackRight {
    from { transform: translateX(var(--partner-marquee-offset)); }
    to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
    .partner-logo-track-left.is-marquee-ready,
    .partner-logo-track-right.is-marquee-ready {
        animation: none;
        transform: none;
    }
}

@media (min-width: 769px) {
    .advantages-section {
        padding: 96px 0 104px;
    }

    .advantages-section .section-header .section-title {
        font-size: 2.35rem;
        line-height: 1.3;
        margin-bottom: 18px;
    }

    .advantages-section .highlight-num {
        font-size: 1.18em;
    }

    .advantages-section .title-underline {
        width: 76px;
        height: 4px;
    }

    .advantages-section .advantages-grid {
        gap: 24px;
        margin-top: 56px;
    }

    .advantages-section .advantage-card {
        min-height: 278px;
        padding: 42px 28px 38px;
    }

    .advantages-section .adv-icon-box {
        width: 78px;
        height: 78px;
        margin-bottom: 24px;
        font-size: 2rem;
    }

    .advantages-section .adv-title {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .advantages-section .adv-desc {
        font-size: 0.98rem;
        line-height: 1.75;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .advantages-section .section-header .section-title {
        font-size: 1.95rem;
        line-height: 1.35;
    }

    .advantages-section .advantages-grid {
        gap: 14px;
        margin-top: 34px;
    }

    .advantages-section .advantage-card {
        min-height: 184px;
        padding: 26px 16px 24px;
    }

    .advantages-section .adv-icon-box {
        width: 58px;
        height: 58px;
        margin-bottom: 15px;
        font-size: 1.55rem;
    }

    .advantages-section .adv-title {
        font-size: 1.05rem;
        margin-bottom: 7px;
    }

    .advantages-section .adv-desc {
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .partner-logos-grid {
        gap: 12px;
    }

    .partner-logo-sequence {
        gap: 10px;
        padding-right: 10px;
    }

    .partner-logo-track .partner-logo-card {
        width: 138px;
        min-width: 138px;
        min-height: 92px;
        padding: 14px 10px;
    }

}

/* Solutions showcase: a top heading row with a wide four-card gallery. */
.solution-title-secondary {
    display: none !important;
}

.solution-description-inline {
    white-space: nowrap;
}

.solution-description-space {
    display: inline-block;
    width: 0.45em;
}

@media (min-width: 769px) {
    .solutions-section {
        padding: 100px 0 108px;
        background: #fbfdff;
    }

    .solutions-section .solution-layout-grid {
        display: block;
    }

    .solutions-section .solution-header-side {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            'label action'
            'title action'
            'desc action';
        align-items: end;
        column-gap: 28px;
        margin-bottom: 38px;
    }

    .solutions-section .solution-header-side .badge-tag { grid-area: label; width: fit-content; }
    .solutions-section .solution-header-side .section-title { grid-area: title; margin: 14px 0 12px; font-size: 2.35rem; line-height: 1.28; }
    .solutions-section .solution-header-side .section-subtitle { grid-area: desc; margin: 0; max-width: 620px; font-size: 0.98rem; line-height: 1.75; }
    .solutions-section .solution-header-side .solution-action { grid-area: action; align-self: center; margin-top: 24px; }
    .solutions-section .solution-header-side .solution-action .btn { white-space: nowrap; }

    .solutions-section .solution-cards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .solutions-section .solution-card {
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
    }

    .solutions-section .sol-img-box {
        height: 224px;
        background: #eaf1ff;
    }

    .solutions-section .sol-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .solutions-section .sol-card-body { padding: 18px 20px 22px; }
    .solutions-section .sol-title { font-size: 1.08rem; margin-bottom: 7px; }
    .solutions-section .sol-desc { font-size: 0.82rem; line-height: 1.55; }
}

@media (max-width: 768px) {
    .solutions-section {
        padding-top: 64px;
        padding-bottom: 68px;
        background: #fbfdff;
    }

    .solutions-section .solution-layout-grid { display: block; }
    .solutions-section .solution-header-side { margin-bottom: 28px; }
    .solutions-section .solution-header-side .section-title { font-size: 1.95rem; line-height: 1.35; }
    .solutions-section .solution-header-side .section-subtitle { font-size: 0.86rem; line-height: 1.7; }
    .solutions-section .solution-description-inline { white-space: normal; }
    .solutions-section .solution-action { margin-top: 18px; }
    .solutions-section .solution-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .solutions-section .solution-card { border-radius: 14px; }
    .solutions-section .sol-img-box { height: 164px; background: #eaf1ff; }
    .solutions-section .sol-img-box img { width: 100%; height: 100%; object-fit: cover; }
    .solutions-section .sol-card-body { padding: 13px 14px 16px; }
    .solutions-section .sol-title { font-size: 0.94rem; margin-bottom: 5px; }
    .solutions-section .sol-desc { font-size: 0.72rem; line-height: 1.5; }
}

/* Keep the homepage CTA card unframed by the legacy full-width banner spacing. */
.cta-banner-section.home-cta-section { padding: 0; }

/* Give partner logos enough room to read while preserving their aspect ratio. */
.home-page .partner-logo-track .partner-logo-card {
    width: 220px;
    min-width: 220px;
    min-height: 128px;
    padding: 16px 14px;
}

.home-page .partner-logo-track .partner-logo-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 76px;
    max-height: 76px;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 768px) {
    .home-page .partner-logo-track .partner-logo-card {
        width: 180px;
        min-width: 180px;
        min-height: 108px;
        padding: 13px 10px;
    }

    .home-page .partner-logo-track .partner-logo-image {
        height: 62px;
        max-height: 62px;
    }
}

/* Homepage news: one featured story and five compact updates. */
.home-page .home-news {
    padding: 64px 0;
    background: #ffffff;
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 40px;
}

.home-news-heading {
    min-width: 0;
}

.home-news-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-news-subtitle {
    margin: 0;
    color: #657087;
    font-size: 15px;
    line-height: 1.6;
}

.home-news-view-all,
.home-news-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border: 1.5px solid #2563eb;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-page .home-news .home-news-view-all {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 10px 26px;
    border: 1.5px solid #2563eb;
    border-radius: 30px;
    color: #2563eb;
    background: #ffffff;
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.65;
    white-space: nowrap;
}

.home-page .home-news .home-news-view-all:hover,
.home-page .home-news .home-news-view-all:focus-visible {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.home-news-view-all svg,
.home-news-detail i {
    width: 14px;
    height: 14px;
    font-size: 14px;
    transition: transform 180ms ease;
}

.home-news-view-all:hover svg,
.home-news-view-all:focus-visible svg,
.home-news-detail:hover i,
.home-news-detail:focus-visible i {
    transform: translateX(3px);
}

.home-news-view-all svg { display: block; flex: 0 0 14px; stroke-linecap: butt; stroke-linejoin: miter; }

.home-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 32px;
    align-items: stretch;
}

.home-news-featured,
.home-news-list {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.home-news-featured {
    display: flex;
    flex-direction: column;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.home-news-featured:hover {
    border-color: #cbd5e1;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.home-news-featured-media {
    display: block;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #f8fafc;
}

.home-news-featured-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 650ms ease, transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.home-news-featured.is-revealed .home-news-featured-media img.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.home-news-featured.is-revealed:hover .home-news-featured-media img.is-loaded {
    transform: scale(1.05);
}

.home-news-featured-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 40px;
}

.home-news-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 24px;
    padding: 5px 14px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    color: #2563eb;
    background: #eff6ff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.home-news-featured .home-news-category { margin-bottom: 16px; }

.home-news-featured-title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0;
}

.home-news-featured-title a {
    color: #0f172a;
    font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 800;
    text-decoration: none;
    transition: color 180ms ease;
}

.home-news-featured-title a:hover,
.home-news-featured-title a:focus-visible,
.home-news-featured:hover .home-news-featured-title a {
    color: #2563eb;
}

.home-news-featured-desc {
    display: -webkit-box;
    margin: 0 0 36px;
    overflow: hidden;
    color: #657087;
    font-size: 14px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-news-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #657087;
    height: 24px;
    font-size: 0.8125rem;
    line-height: 1.6;
}

.home-news-date i {
    width: 14px;
    height: 14px;
    color: #94a3b8;
    font-size: 0.875rem;
}

.home-news-detail {
    gap: 8px;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.home-news-detail:hover,
.home-news-detail:focus-visible {
    color: #ffffff;
    background: #1d4ed8;
    transform: translateY(-1px);
}

.home-news-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 40px;
}

.home-news-list-item {
    display: block;
    min-height: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    color: inherit;
    text-decoration: none;
    transition: all 200ms ease;
}

.home-page .home-news-list-item.reveal-on-scroll {
    opacity: 0;
    translate: 0 10px;
    scale: 0.992;
    filter: blur(2px);
    transition: opacity 0.78s cubic-bezier(0.22, 0.61, 0.36, 1), translate 0.82s cubic-bezier(0.22, 0.61, 0.36, 1), scale 0.82s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.7s ease-out;
}

.home-page .home-news-list-item.reveal-on-scroll.is-revealed {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
}

.home-news-list-item:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.home-news-list-item:hover,
.home-news-list-item:focus-visible {
    background: transparent;
}

.home-news-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    margin-bottom: 12px;
}

.home-news-item-left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 24px;
}

.home-news-item-index {
    width: 30px;
    flex: 0 0 30px;
    color: #2563eb;
    height: 24px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-0.5px);
}

.home-news-list .home-news-category {
    height: 24px;
    min-height: 24px;
    padding: 0 12px;
    border: 0;
    font-size: 12px;
    font-weight: 600;
}

.home-news-item-meta .home-news-date {
    margin-left: auto;
}

.home-news-item-title {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    transition: color 180ms ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home-news-list-item:hover .home-news-item-title,
.home-news-list-item:focus-visible .home-news-item-title {
    color: #2563eb;
}

.home-news-item-desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #657087;
    font-size: 13.5px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home-news-empty,
.home-news-list-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 180px;
    color: #94a3b8;
    font-size: 0.88rem;
}

.home-news-empty {
    border: 1px dashed #dbe3ec;
    border-radius: 24px;
    background: #ffffff;
}

@media (max-width: 992px) {
    .home-news-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-news-featured-media {
        height: 260px;
    }

    .home-news-featured-content {
        padding: 28px;
    }

    .home-news-list {
        padding: 28px;
    }

    .home-news-list-item {
        padding-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .home-page .home-news {
        padding: 48px 0 52px;
    }

    .home-news-header {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 26px;
    }

    .home-news-title {
        font-size: 1.75rem;
    }

    .home-news-view-all {
        width: 100%;
    }

    .home-news-grid {
        gap: 18px;
    }

    .home-news-featured-media {
        height: 230px;
    }

    .home-news-featured-content {
        padding: 22px 20px 24px;
    }

    .home-news-featured-title {
        font-size: 1.16rem;
        line-height: 1.55;
    }

    .home-news-featured-desc {
        margin-bottom: 22px;
        font-size: 0.82rem;
        -webkit-line-clamp: 3;
    }

    .home-news-featured-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .home-news-detail {
        width: 100%;
    }

    .home-news-list {
        padding: 8px 18px;
    }

    .home-news-list-item {
        padding: 18px 0;
    }

    .home-news-item-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .home-news-item-meta .home-news-date {
        width: 100%;
        margin: 2px 0 0 41px;
    }

    .home-news-item-title {
        font-size: 0.92rem;
        -webkit-line-clamp: 2;
    }

    .home-news-item-desc {
        font-size: 0.77rem;
        -webkit-line-clamp: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-featured,
    .home-news-featured-media img,
    .home-news-list-item,
    .home-news-view-all,
    .home-news-detail,
    .home-news-view-all svg,
    .home-news-detail i {
        transition: none;
    }
}
