/*
#	Project: PHPDisk - 网盘系统
#	This is NOT a freeware, use is subject to license terms.
#	Website: http://www.phpdisk.com
#	Author: PHPDisk Dev Team
#	Copyright (C) 2015-2025 PHPDisk. 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 区域 */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 浮动粒子 */
.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; }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: all 0.3s ease;
}
.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 云朵插画 */
.hero-illustration {
    position: relative;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* 云存储动画图 */
.cloud-animation {
    position: relative;
    width: 420px;
    height: 380px;
    margin: 0 auto;
}

/* 主云朵 */
.cloud-main {
    position: absolute;
    width: 300px;
    height: 120px;
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 60px;
    top: 140px;
    left: 60px;
    box-shadow: 0 30px 60px rgba(30, 64, 175, 0.5);
    animation: cloud-breathe 4s ease-in-out infinite;
}
.cloud-main::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    top: -70px;
    left: 40px;
}
.cloud-main::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    top: -50px;
    right: 50px;
}
@keyframes cloud-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* 上传箭头 */
.upload-arrow {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    animation: arrow-float 2s ease-in-out infinite;
}
.upload-arrow i {
    font-size: 48px;
    color: #fff;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}
@keyframes arrow-float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

/* 小云朵 */
.cloud-small {
    position: absolute;
    background: rgba(255,255,255,0.9);
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.cloud-small-1 {
    width: 90px;
    height: 45px;
    top: 30px;
    right: 20px;
    animation: cloud-drift-1 5s ease-in-out infinite;
}
.cloud-small-1::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: -18px;
    left: 18px;
}
.cloud-small-2 {
    width: 70px;
    height: 35px;
    top: 80px;
    left: 0;
    animation: cloud-drift-2 6s ease-in-out infinite;
}
.cloud-small-2::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: -14px;
    left: 14px;
}
@keyframes cloud-drift-1 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(12px); }
}
@keyframes cloud-drift-2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* 文件卡片 */
.file-card {
    position: absolute;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.file-card i {
    font-size: 28px;
}
.file-card-1 {
    width: 55px;
    height: 65px;
    bottom: 70px;
    left: 15px;
    animation: file-bounce-1 3s ease-in-out infinite;
}
.file-card-1 i { color: #f59e0b; }
.file-card-2 {
    width: 55px;
    height: 65px;
    bottom: 30px;
    left: 55px;
    animation: file-bounce-2 3s ease-in-out infinite 0.3s;
}
.file-card-2 i { color: #3b82f6; }
.file-card-3 {
    width: 55px;
    height: 65px;
    bottom: 60px;
    left: 95px;
    animation: file-bounce-3 3s ease-in-out infinite 0.6s;
}
.file-card-3 i { color: #ef4444; }
.file-card-4 {
    width: 50px;
    height: 60px;
    top: 40px;
    left: 50px;
    animation: file-bounce-4 4s ease-in-out infinite 0.2s;
}
.file-card-4 i { color: #8b5cf6; }
.file-card-5 {
    width: 50px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    animation: file-bounce-5 3.5s ease-in-out infinite 0.4s;
}
.file-card-5 i { color: #06b6d4; }
.file-card-6 {
    width: 50px;
    height: 60px;
    top: 60px;
    right: 50px;
    animation: file-bounce-6 4s ease-in-out infinite 0.8s;
}
.file-card-6 i { color: #ec4899; }
@keyframes file-bounce-1 {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
}
@keyframes file-bounce-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes file-bounce-3 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(0deg); }
}
@keyframes file-bounce-4 {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes file-bounce-5 {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes file-bounce-6 {
    0%, 100% { transform: translateY(0) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}

/* 成功徽章 */
.success-badge {
    position: absolute;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 90px;
    right: 70px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}
.success-badge i {
    font-size: 24px;
    color: #fff;
}
@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5); }
    50% { transform: scale(1.1); box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6); }
}

/* 上传进度条 */
.upload-progress {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    overflow: hidden;
}
.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 3px;
    animation: progress-fill 3s ease-in-out infinite;
}
@keyframes progress-fill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* 云朵上的文字 */
.cloud-text {
    position: absolute;
    top: 185px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: text-glow 2s ease-in-out infinite;
}
@keyframes text-glow {
    0%, 100% { opacity: 0.8; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
    50% { opacity: 1; text-shadow: 0 2px 15px rgba(255,255,255,0.4); }
}

/* 特性标签 */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}
.hero-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}
.hero-tag i {
    margin-right: 5px;
}

/* 特性区域 */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-icon.blue { background: #dbeafe; color: #2563eb; }
.feature-icon.green { background: #dcfce7; color: #16a34a; }
.feature-icon.purple { background: #f3e8ff; color: #9333ea; }
.feature-icon.orange { background: #ffedd5; color: #ea580c; }
.feature-icon.cyan { background: #cffafe; color: #0891b2; }
.feature-icon.pink { background: #fce7f3; color: #db2777; }

/* 案例展示 */
.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: var(--accent-color);
}

.stat-label {
    color: rgba(255,255,255,0.7);
}

/* CTA 区域 */
.cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    padding: 80px 0;
}

