/*
#	Project: Youtem - 网盘系统
#	This is NOT a freeware, use is subject to license terms.
#	Website: https://youtem.com
#	Author: Youtem Dev Team
#	Copyright (C) 2015-2025 Youtem. All Rights Reserved.
*/

/* 确保 Boxicons 图标正确显示 */
.bx, i.bx, [class*="bx-"] {
    font-family: 'boxicons' !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    speak: none !important;
    text-transform: none !important;
}

/* 确保 :before 伪元素也使用正确的字体 */
.bx:before, 
i.bx:before, 
[class*="bx-"]:before,
.bx::before, 
i.bx::before, 
[class*="bx-"]::before {
    font-family: 'boxicons' !important;
    font-weight: 400 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
    speak: none !important;
    text-transform: none !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* 确保图标在白色背景上也能显示 */
.bg-white.bg-opacity-20 .bx,
.bg-white.bg-opacity-20 i.bx,
.bg-white.bg-opacity-20 .bx:before,
.bg-white.bg-opacity-20 i.bx:before,
.bg-white.bg-opacity-20 .bx::before,
.bg-white.bg-opacity-20 i.bx::before {
    font-family: 'boxicons' !important;
    color: inherit !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* 强制显示图标伪元素 */
i.bx.bx-cog:before,
i.bx.bx-palette:before,
i.bx.bx-support:before,
i.bx.bx-award:before,
i.bx.bx-cog::before,
i.bx.bx-palette::before,
i.bx.bx-support::before,
i.bx.bx-award::before {
    font-family: 'boxicons' !important;
    display: inline-block !important;
    font-weight: 400 !important;
    font-style: normal !important;
}

/* Hero 区域 — Klein Blue 全幅主视觉 */
.hero-section {
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(102, 131, 223, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 38, 138, 0.55) 0%, transparent 50%),
        linear-gradient(145deg, #001450 0%, #002FA7 48%, #00268a 100%);
    padding: 112px 0 96px;
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

/* 浮动粒子 */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float-up 15s infinite;
}
.particle:nth-child(1) { width: 80px; height: 80px; left: 5%; animation-delay: 0s; }
.particle:nth-child(2) { width: 40px; height: 40px; left: 15%; animation-delay: 2s; }
.particle:nth-child(3) { width: 60px; height: 60px; left: 35%; animation-delay: 4s; }
.particle:nth-child(4) { width: 30px; height: 30px; left: 50%; animation-delay: 1s; }
.particle:nth-child(5) { width: 50px; height: 50px; left: 70%; animation-delay: 3s; }
.particle:nth-child(6) { width: 70px; height: 70px; left: 85%; animation-delay: 5s; }
.particle:nth-child(7) { width: 25px; height: 25px; left: 25%; animation-delay: 6s; }
.particle:nth-child(8) { width: 45px; height: 45px; left: 60%; animation-delay: 7s; }

@keyframes float-up {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.yt-hero__eyebrow {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.yt-hero__title {
    font-family: "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    max-width: 16em;
}

.yt-hero__slogans {
    margin: 0 0 1rem;
    padding: 0;
    gap: 0.5rem 0.65rem !important;
}

.yt-hero__slogan {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: 0.02em;
}

.yt-hero__sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    max-width: 38rem;
    margin-bottom: 1.75rem;
}

.yt-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.hero-btn {
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Hero 打字机光标 */
.yt-tw-cursor {
    display: inline-block;
    width: 2px;
    height: 0.92em;
    margin-left: 2px;
    vertical-align: -0.08em;
    background: rgba(255, 255, 255, 0.92);
    animation: yt-tw-blink 0.85s step-end infinite;
}

@keyframes yt-tw-blink {
    50% { opacity: 0; }
}

/* 右侧品牌预览（桌面端显示） */
.yt-hero__preview {
    display: none;
}

@media (min-width: 992px) {
    .hero-section {
        padding-bottom: clamp(4rem, 10vw, 7rem);
    }

    .yt-hero__preview {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        position: relative;
        overflow: visible;
    }
}

.yt-hero__preview-stack {
    position: relative;
    width: 100%;
    max-width: min(340px, 100%);
    margin-left: auto;
    overflow: visible;
}

.yt-hero__float-cloud {
    position: absolute;
    z-index: 2;
    inset: -52% -20% -44% -20%;
    pointer-events: none;
    overflow: hidden;
    box-sizing: border-box;
    padding: 1.35rem 0.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.yt-float-marquee {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    height: 100%;
    min-height: 10.5rem;
    padding: 0.5rem 0 0.85rem;
}

.yt-float-track {
    overflow: visible;
    width: 100%;
    min-height: 2.15rem;
}

.yt-float-track__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: max-content;
    gap: 1.05rem;
    will-change: transform;
    animation: yt-marquee-x 38s linear infinite;
}

@keyframes yt-marquee-x {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.yt-float-tag {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.22rem;
    padding: 0.3rem 0.52rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    white-space: nowrap;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
    transform: translateY(var(--yt-float-y, 0px)) scale(var(--yt-float-scale, 1));
    opacity: var(--yt-float-op, 1);
    z-index: var(--yt-float-z, 1);
}

.yt-float-tag .bx {
    font-size: 1.08em;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.yt-float-tag--cms {
    color: #fff;
    background: linear-gradient(140deg, #3f64d7, #002FA7);
    box-shadow: 0 5px 18px rgba(0, 47, 167, 0.42);
}
.yt-float-tag--mini {
    color: #fff;
    background: linear-gradient(140deg, #07c160, #059669);
    box-shadow: 0 5px 18px rgba(7, 193, 96, 0.38);
}
.yt-float-tag--crm {
    color: #fff;
    background: linear-gradient(140deg, #0ea5e9, #0284c7);
    box-shadow: 0 5px 18px rgba(2, 132, 199, 0.38);
}
.yt-float-tag--oa {
    color: #fff;
    background: linear-gradient(140deg, #f97316, #ea580c);
    box-shadow: 0 5px 18px rgba(234, 88, 12, 0.38);
}
.yt-float-tag--erp {
    color: #fff;
    background: linear-gradient(140deg, #475569, #1e293b);
    box-shadow: 0 5px 18px rgba(30, 41, 59, 0.42);
}
.yt-float-tag--mall {
    color: #fff;
    background: linear-gradient(140deg, #f59e0b, #d97706);
    box-shadow: 0 5px 18px rgba(217, 119, 6, 0.38);
}
.yt-float-tag--pc {
    color: #fff;
    background: linear-gradient(140deg, #6683df, #3f64d7);
    box-shadow: 0 5px 18px rgba(63, 100, 215, 0.42);
}
.yt-float-tag--app {
    color: #fff;
    background: linear-gradient(140deg, #06b6d4, #0891b2);
    box-shadow: 0 5px 18px rgba(8, 145, 178, 0.38);
}
.yt-float-tag--short {
    color: #fff;
    background: linear-gradient(140deg, #14b8a6, #0f766e);
    box-shadow: 0 5px 18px rgba(15, 118, 110, 0.38);
}
.yt-float-tag--card {
    color: #fff;
    background: linear-gradient(140deg, #10b981, #047857);
    box-shadow: 0 5px 18px rgba(4, 120, 87, 0.38);
}
.yt-float-tag--task {
    color: #fff;
    background: linear-gradient(140deg, #e11d48, #be123c);
    box-shadow: 0 5px 18px rgba(190, 18, 60, 0.38);
}
.yt-float-tag--saas {
    color: #fff;
    background: linear-gradient(140deg, #3f64d7, #00268a);
    box-shadow: 0 5px 18px rgba(0, 38, 138, 0.38);
}
.yt-float-tag--tool {
    color: #fff;
    background: linear-gradient(140deg, #64748b, #334155);
    box-shadow: 0 5px 18px rgba(51, 65, 85, 0.38);
}
.yt-float-tag--ai {
    color: #fff;
    background: linear-gradient(140deg, #0d9488, #115e59);
    box-shadow: 0 5px 18px rgba(13, 148, 136, 0.38);
}
.yt-float-tag--dash {
    color: #fff;
    background: linear-gradient(140deg, #2563eb, #1d4ed8);
    box-shadow: 0 5px 18px rgba(29, 78, 216, 0.38);
}

@keyframes yt-hero-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    20% { transform: translate3d(5px, -12px, 0) rotate(0.35deg); }
    40% { transform: translate3d(-4px, 6px, 0) rotate(-0.3deg); }
    60% { transform: translate3d(6px, 8px, 0) rotate(0.25deg); }
    80% { transform: translate3d(-5px, -6px, 0) rotate(-0.2deg); }
}

@keyframes yt-hero-float-glow {
    0%, 100% {
        box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.25),
            0 0 0 1px rgba(102, 131, 223, 0.18);
    }
    50% {
        box-shadow:
            0 24px 56px rgba(0, 0, 0, 0.28),
            0 0 28px rgba(63, 100, 215, 0.22),
            0 0 0 1px rgba(102, 131, 223, 0.28);
    }
}

.yt-preview-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    max-width: 100%;
}

.yt-preview-card--float {
    position: relative;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    animation:
        yt-hero-float 8s ease-in-out infinite,
        yt-hero-float-glow 8s ease-in-out infinite;
    transform-origin: 50% 45%;
}

@media (prefers-reduced-motion: reduce) {
    .yt-preview-card--float { animation: none; }
    .yt-float-track__inner { animation: none !important; }
}

.yt-preview-card__bar {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.yt-preview-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}
.yt-preview-card__dot:nth-child(1) { background: #f87171; }
.yt-preview-card__dot:nth-child(2) { background: #fbbf24; }
.yt-preview-card__dot:nth-child(3) { background: #4ade80; }

.yt-preview-card__line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.5rem;
}
.yt-preview-card__line--short { width: 62%; }

.yt-preview-card__hint {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* 特性区域 */
.feature-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.125rem;
    height: 100%;
    box-shadow: 0 1px 2px rgba(15, 19, 32, 0.04);
    transition: border-color 0.25s, box-shadow 0.25s;
    border: 1px solid #e5e8ef;
}

.feature-card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 47, 167, 0.08);
    border-color: #b3c1ef;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.feature-icon.blue { background: #eef1fb; color: #002FA7; }
.feature-icon.green { background: #e8f7f1; color: #0f9d6e; }
.feature-icon.purple { background: #eef1fb; color: #00268a; }
.feature-icon.orange { background: #eef1fb; color: #3f64d7; }
.feature-icon.cyan { background: #e8f1fb; color: #002FA7; }
.feature-icon.pink { background: #eef1fb; color: #6683df; }

/* 案例展示 */
.case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: scale(1.02);
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 统计数字 */
.stats-section {
    background: var(--dark-bg);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6683df;
}

.stat-label {
    color: rgba(255,255,255,0.7);
}

/* Problem Cards */
.problem-card {
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15);
    border-color: #fecaca !important;
}

/* Use Case Cards */
.usecase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(63, 100, 215, 0.15);
    border-color: #3f64d7 !important;
}

/* Step Cards */
.step-card {
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(63, 100, 215, 0.2);
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(145deg, #001450 0%, #002FA7 55%, #00268a 100%);
    padding: 80px 0;
}

