/* ==========================================
   客管家 · 宣传页自定义样式
   ========================================== */

/* 基础 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ==========================================
   导航栏
   ========================================== */
.navbar-transparent {
    background: transparent;
}
.navbar-transparent .nav-link {
    color: rgba(255, 255, 255, 0.85);
}
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.navbar-scrolled .nav-link {
    color: #374151;
}
.navbar-scrolled .nav-logo-text {
    color: #111827 !important;
}
.navbar-scrolled #menu-btn {
    color: #374151;
}

/* ==========================================
   Hero 区域
   ========================================== */
.hero-section {
    background: #1a0a00;
}
.hero-bg {
    background: linear-gradient(135deg, #FF4500 0%, #c23100 40%, #7a1a00 70%, #1a0a00 100%);
}

/* ==========================================
   浮动卡片动画
   ========================================== */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    50%       { transform: translateY(-14px) rotate(2deg); }
}
.float-card-1 {
    animation: float1 3.5s ease-in-out infinite;
}
.float-card-2 {
    animation: float2 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* ==========================================
   滚动入场动画
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(32px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
.fade-in-right {
    animation: fadeInRight 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* 滚动触发动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   部署流程背景
   ========================================== */
.process-section {
    background: linear-gradient(135deg, #FF4500 0%, #c23100 50%, #7a1a00 100%);
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.process-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

/* ==========================================
   响应式补充
   ========================================== */
@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
    }
}

/* ==========================================
   滚动条美化
   ========================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #FF4500; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c23100; }
