/* ========================================
   橘子获客 - 主样式表
   ======================================== */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 50%, #ffedd5 100%);
    color: #1c1917;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========================================
   动画背景
   ======================================== */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(253, 186, 116, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   漂浮橘子动画
   ======================================== */
.floating-oranges {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.orange-float {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    animation: floatOrange 20s infinite ease-in-out;
}

@keyframes floatOrange {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* ========================================
   玻璃卡片效果
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 146, 60, 0.2);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 40px rgba(251, 146, 60, 0.15);
    transform: translateY(-5px);
}

/* ========================================
   渐变文字
   ======================================== */
.gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   按钮样式
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    padding: 16px 36px;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: white;
    border: 2px solid #f97316;
    padding: 14px 34px;
    border-radius: 14px;
    color: #f97316;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f97316;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* ========================================
   平台下载按钮
   ======================================== */
.platform-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: white;
    border: 2px solid rgba(251, 146, 60, 0.2);
    border-radius: 18px;
    color: #1c1917;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-btn:hover {
    border-color: #f97316;
    background: rgba(255, 247, 237, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.platform-btn .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

/* ========================================
   滚动动画
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   导航链接
   ======================================== */
.nav-link {
    position: relative;
    color: #57534e;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #f97316;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================================
   移动端菜单
   ======================================== */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background-color: #fffaf5 !important;
}

.mobile-menu.active {
    transform: translateX(0);
    background-color: #fffaf5 !important;
}

/* ========================================
   功能卡片
   ======================================== */
.feature-card {
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 20px 50px rgba(251, 146, 60, 0.12);
    transform: translateY(-8px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid rgba(251, 146, 60, 0.2);
    margin-bottom: 24px;
}

/* ========================================
   截图卡片
   ======================================== */
.screenshot-card {
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 25px 60px rgba(251, 146, 60, 0.15);
    transform: translateY(-10px) scale(1.02);
}

.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

/* ========================================
   使用场景卡片
   ======================================== */
.usecase-card {
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.15);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.usecase-card:hover {
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: 0 15px 40px rgba(251, 146, 60, 0.1);
}

/* ========================================
   统计数据
   ======================================== */
.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   页脚链接
   ======================================== */
.footer-link {
    color: #78716c;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f97316;
}

/* ========================================
   社交图标
   ======================================== */
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid rgba(251, 146, 60, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    background: #fff7ed;
    border-color: #f97316;
    transform: translateY(-3px);
}

/* ========================================
   滚动条样式
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fffaf5;
}

::-webkit-scrollbar-thumb {
    background: #fdba74;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fb923c;
}

/* ========================================
   版本标签
   ======================================== */
.version-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #ea580c;
}

/* ========================================
   手机模型
   ======================================== */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1c1917 0%, #292524 100%);
    border-radius: 48px;
    padding: 14px;
    box-shadow: 
        0 0 0 3px rgba(251, 146, 60, 0.3),
        0 35px 70px -15px rgba(249, 115, 22, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 28px;
    background: #1c1917;
    border-radius: 0 0 24px 24px;
}

/* ========================================
   二维码占位
   ======================================== */
.qr-placeholder {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 2px solid rgba(251, 146, 60, 0.2);
}

/* ========================================
   分隔线
   ======================================== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 146, 60, 0.3), transparent);
}

/* ========================================
   高亮框
   ======================================== */
.highlight-box {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.8) 0%, rgba(255, 237, 213, 0.8) 100%);
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 24px;
    padding: 48px;
}

/* ========================================
   导航玻璃效果
   ======================================== */
.nav-glass {
    background: rgba(255, 250, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.1);
}
