/* ============================================================
   枢星数智科技官网 - 首页专用样式
   重写版本 v6.0 - H5全vw单位 / 零媒体查询 / PC+H5 完全统一
   设计稿基准：375px（移动端）
   ============================================================ */

.hero {
    position: relative;
    height: calc(100vh - 4rem);
    min-height: 31.25rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.is-mobile .hero {
    min-height: 70vw;
    height: calc(100vh - 13.87vw);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(1.25rem, -1.25rem); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: rise linear infinite;
    box-shadow: 0 0 8px rgba(26, 115, 232, 0.6);
}

@keyframes rise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.data-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.6), transparent);
    animation: dataFlow linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 62.5rem;
    padding: 0 1.25rem;
    animation: heroFadeIn 1.2s ease;
}

.is-mobile .hero-content {
    padding: 0 3.2vw;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(1.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--accent-color1);
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    animation: heroFadeIn 1.2s ease 0.2s backwards;
}

.is-mobile .hero-tag {
    font-size: 2.93vw;
    padding: 1.07vw 4vw;
    margin-bottom: 3.73vw;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.625rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    animation: heroFadeIn 1.2s ease 0.4s backwards;
}

.is-mobile .hero-title {
    font-size: 5.87vw;
    letter-spacing: 0;
    line-height: 1.35;
    margin-bottom: 3.2vw;
}

.hero-title .highlight {
    background: linear-gradient(120deg, #4dabf7 0%, #00b4d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    letter-spacing: 1px;
    line-height: 1.7;
    animation: heroFadeIn 1.2s ease 0.6s backwards;
}

.is-mobile .hero-subtitle {
    font-size: 3.2vw;
    margin-bottom: 5.33vw;
    letter-spacing: 0;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    animation: heroFadeIn 1.2s ease 0.8s backwards;
}

.is-mobile .hero-buttons {
    flex-direction: column;
    gap: 2.67vw;
    align-items: center;
}

.hero-buttons .btn {
    min-width: 9.375rem;
}

.is-mobile .hero-buttons .btn {
    width: 100%;
    max-width: 53.33vw;
    padding: 2.67vw 6.4vw;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #1a73e8 0%, #00b4d8 100%);
    padding: 0.625rem 1.75rem;
    font-size: 0.875rem;
}

.hero-buttons .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0.625rem 1.75rem;
    font-size: 0.875rem;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.scroll-down {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-align: center;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.is-mobile .scroll-down {
    display: none;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
    margin: 6px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

.news-section {
    padding: 3rem 0;
    background: var(--bg-gray);
    position: relative;
}

.is-mobile .news-section {
    padding: 6.4vw 0;
}

.news-tabs,
.app-tabs,
.value-tabs {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.is-mobile .news-tabs,
.is-mobile .app-tabs,
.is-mobile .value-tabs {
    gap: 2.67vw;
    margin-bottom: 4.27vw;
}

.news-tab,
.value-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font-weight: 500;
}

.is-mobile .news-tab,
.is-mobile .value-tab {
    padding: 2.13vw 3.73vw;
    font-size: 3.2vw;
}

.app-tab {
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-weight: 500;
    margin-bottom: -1px;
}

.is-mobile .app-tab {
    padding: 2.67vw 0;
    font-size: 3.73vw;
}

.news-tab::after,
.app-tab::after,
.value-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.is-mobile .news-tab::after,
.is-mobile .app-tab::after,
.is-mobile .value-tab::after {
    height: 0.53vw;
}

.news-tab.active,
.news-tab:hover,
.app-tab.active,
.app-tab:hover,
.value-tab.active,
.value-tab:hover { color: var(--accent-color); }

.news-tab.active::after { width: 60%; }
.app-tab.active::after { width: 100%; }
.value-tab.active::after { width: 60%; }

.news-content,
.app-content,
.value-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: none;
    animation: fadeInUp 0.5s ease;
}

.is-mobile .news-content,
.is-mobile .app-content,
.is-mobile .value-content {
    padding: 0 3.2vw;
}

.news-content.active,
.app-content.active,
.value-content.active { display: block; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.is-mobile .news-grid {
    grid-template-columns: 1fr;
    gap: 3.2vw;
}

.news-card {
    background: var(--white);
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.is-mobile .news-card {
    padding: 4vw 3.73vw;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.is-mobile .news-card::before {
    width: 1.07vw;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.is-mobile .news-card:hover {
    transform: translateY(-1.07vw);
}

.news-card:hover::before { transform: scaleY(1); }

.news-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.875rem;
    color: var(--accent-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.is-mobile .news-icon {
    width: 8vw;
    height: 8vw;
    font-size: 4.27vw;
    margin-bottom: 3.2vw;
}

.news-card:hover .news-icon {
    background: var(--gradient-blue);
    color: white;
    transform: rotate(8deg);
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.is-mobile .news-card-title {
    font-size: 4vw;
    margin-bottom: 2.13vw;
}

.news-card-desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.is-mobile .news-card-desc {
    font-size: 3.2vw;
    margin-bottom: 3.2vw;
}

.app-section {
    padding: 3rem 0;
    background: var(--white);
}

.is-mobile .app-section {
    padding: 6.4vw 0;
}

.app-tabs {
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}

.is-mobile .app-tabs {
    gap: 5.33vw;
    margin-bottom: 4.27vw;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.is-mobile .app-grid {
    grid-template-columns: 1fr;
    gap: 4.27vw;
}

.app-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.is-mobile .app-info-title {
    font-size: 4.8vw;
    margin-bottom: 3.2vw;
    padding-bottom: 2.67vw;
}

.app-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--gradient-blue);
}

.is-mobile .app-info-title::after {
    width: 6.67vw;
    height: 0.8vw;
}

.app-info-desc {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.is-mobile .app-info-desc {
    font-size: 3.2vw;
    line-height: 1.7;
    margin-bottom: 3.73vw;
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.is-mobile .app-tags {
    gap: 2.13vw;
    margin-bottom: 4.27vw;
}

.app-tag {
    padding: 0.3125rem 0.875rem;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: 30px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.is-mobile .app-tag {
    padding: 1.33vw 3.73vw;
    font-size: 2.93vw;
}

.app-tag:hover {
    background: var(--gradient-blue);
    color: white;
    transform: translateY(-2px);
}

.is-mobile .app-tag:hover {
    transform: translateY(-0.53vw);
}

.app-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.is-mobile .app-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 53.33vw;
    border-radius: var(--radius-md);
}

.app-image img {
    width: 100%;
    height: 17.5rem;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.is-mobile .app-image img {
    height: 100%;
    object-fit: cover;
}

.app-image:hover img { transform: scale(1.05); }

.value-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.is-mobile .value-section {
    padding: 6.4vw 0;
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.is-mobile .value-grid {
    grid-template-columns: 1fr;
    gap: 4.27vw;
}

.value-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    position: relative;
    padding-bottom: 0.625rem;
}

.is-mobile .value-info-title {
    font-size: 4.8vw;
    margin-bottom: 3.2vw;
    padding-bottom: 2.67vw;
}

.value-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: var(--gradient-blue);
}

.is-mobile .value-info-title::after {
    width: 6.67vw;
    height: 0.8vw;
}

.value-info-desc {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.is-mobile .value-info-desc {
    font-size: 3.2vw;
    line-height: 1.7;
    margin-bottom: 4.27vw;
}

.value-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.is-mobile .value-stats {
    grid-template-columns: 1fr 1fr;
    gap: 3.2vw;
    margin-bottom: 4.27vw;
}

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

.value-stat .counter {
    font-size: 2rem;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    display: block;
}

.is-mobile .value-stat .counter {
    font-size: 6.4vw;
    margin-bottom: 1.07vw;
}

.value-stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.is-mobile .value-stat-label {
    font-size: 3.2vw;
}

.value-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.is-mobile .value-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 53.33vw;
    border-radius: var(--radius-md);
}

.value-image img {
    width: 100%;
    height: 20rem;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.is-mobile .value-image img {
    height: 100%;
    object-fit: cover;
}

.value-image:hover img { transform: scale(1.05); }

.update-section {
    padding: 3rem 0;
    background: var(--white);
}

.is-mobile .update-section {
    padding: 6.4vw 0;
}

.update-grid {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    /* grid-template-columns: 2fr 1fr; */
    gap: 2.5rem;
    align-items: start;
}

.is-mobile .update-grid {
    grid-template-columns: 1fr;
    gap: 4.27vw;
    padding: 0 3.2vw;
}

.update-list-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.update-list {
    display: flex;
    flex-direction: column;
}

.update-item {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
}

.is-mobile .update-item {
    padding: 3.2vw 0;
    gap: 3.2vw;
}

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

.update-item:hover { padding-left: 0.5rem; }

.is-mobile .update-item:hover {
    padding-left: 2.13vw;
}

.update-date {
    flex-shrink: 0;
    width: 4.375rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.75rem;
}

.is-mobile .update-date {
    width: 13.87vw;
}

.update-date-day {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.is-mobile .update-date-day {
    font-size: 4.8vw;
    margin-bottom: 1.07vw;
}

.update-date-month {
    font-size: 0.75rem;
}

.is-mobile .update-date-month {
    font-size: 2.93vw;
}

.update-title {
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
    flex: 1;
    line-height: 1.6;
}

.is-mobile .update-title {
    font-size: 3.2vw;
    line-height: 1.5;
}

.update-item:hover .update-title { color: var(--accent-color); }

.update-side {
    background: var(--bg-light);
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-md);
}

.is-mobile .update-side {
    padding: 4vw 3.73vw;
}

.update-side-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--accent-color);
}

.is-mobile .update-side-title {
    font-size: 4vw;
    margin-bottom: 3.2vw;
    padding-bottom: 2.67vw;
    border-bottom-width: 0.53vw;
}

.update-side-item {
    padding: 0.625rem 0;
    border-bottom: 1px dashed var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.is-mobile .update-side-item {
    padding: 2.67vw 0;
}

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

.update-side-item:hover { padding-left: 0.375rem; }

.is-mobile .update-side-item:hover {
    padding-left: 1.6vw;
}

.update-side-item-title {
    font-size: 0.8125rem;
    color: var(--text-medium);
    transition: color 0.3s ease;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.is-mobile .update-side-item-title {
    font-size: 3.2vw;
    margin-bottom: 1.07vw;
}

.update-side-item:hover .update-side-item-title { color: var(--accent-color); }

.update-side-item-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.is-mobile .update-side-item-date {
    font-size: 2.93vw;
}

.partner-section {
    padding: 2.5rem 0;
    background: var(--bg-light);
    overflow: hidden;
}

.is-mobile .partner-section {
    padding: 5.33vw 0;
}

.partner-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.partner-item {
    flex-shrink: 0;
    width: 15rem;
    height: 9.5rem;
    margin: 0 0.875rem;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-medium);
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    padding: 0.5rem;
}

.is-mobile .partner-item {
    width: 31.67vw;
    height: 17vw;
    margin: 0 2.67vw;
    padding: 1.6vw;
    font-size: 2.93vw;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.is-mobile .partner-item:hover {
    transform: translateY(-0.8vw);
}

.partner-item:hover img { transform: scale(1.05); }
