/* === 0. 变量与重置 (轻奢配色) === */
:root {
    /* 背景色：温暖的米白/奶油色 */
    --bg-light: #f9f9f7;
    --bg-gradient: linear-gradient(135deg, #fdfbf7 0%, #f3e7e9 100%);

    /* 主色调：优雅的卡其金/深棕 */
    --primary: #c2b280; /* 卡其金 */
    --primary-dark: #8b7e66; /* 深卡其 */
    --accent: #d4af37; /* 香槟金点缀 */
    --text-dark: #2c2c2c; /* 深灰，不纯黑 */
    --text-muted: #666666;

    /* 玻璃质感：白色磨砂 */
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 20px 40px rgba(139, 126, 102, 0.15); /* 暖色阴影 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: var(--bg-gradient);
    color: var(--text-dark);
    font-family: 'Segoe UI', 'Inter', serif; /* Serif 字体增加高级感 */
    overflow-x: hidden;
    min-height: 100vh;
}

/* === 1. 动态背景 (柔光) === */
.ambient-light {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    overflow: hidden;
    background: var(--bg-gradient);
}
.light-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
    animation: floatOrb 25s infinite ease-in-out alternate;
}
/* 配色改为：杏色、浅金、柔白 */
.orb-1 { top: -10%; left: -10%; width: 60vw; height: 60vw; background: #fff1e0; }
.orb-2 { bottom: -20%; right: -10%; width: 50vw; height: 50vw; background: #e8dbc3; animation-delay: -5s; }
.orb-3 { top: 40%; left: 40%; width: 40vw; height: 40vw; background: #f0e6d2; opacity: 0.4; }

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}
@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
}

/* === 2. 导航栏 === */
.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 25px 50px;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
}
.nav-logo { font-size: 24px; font-weight: 700; color: var(--text-dark); letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.nav-logo i { color: var(--primary-dark); }
.nav-links span { margin-left: 30px; font-size: 14px; color: var(--text-muted); cursor: pointer; transition: 0.3s; }
.nav-links span:hover { color: var(--primary-dark); }

/* === 3. Hero Section (登录屏) === */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding: 0 8%; position: relative; }
.hero-content { display: flex; width: 100%; max-width: 1400px; justify-content: space-between; align-items: center; gap: 60px; margin: 0 auto; }

.hero-text { flex: 1; }
.brand-tag { font-size: 12px; letter-spacing: 4px; color: var(--primary-dark); font-weight: bold; display: block; margin-bottom: 15px; }

/* 字体渐变：深棕到浅金 */
.gradient-text {
    font-size: 72px; line-height: 1.1; font-weight: 800; margin-bottom: 25px;
    background: linear-gradient(135deg, #2c2c2c 0%, #6d5e53 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle { font-size: 18px; color: var(--text-muted); max-width: 480px; line-height: 1.8; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 50px; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 30px; }
.stat-item .num { font-size: 36px; font-weight: 700; color: var(--primary-dark); display: block; }
.stat-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #999; }

/* 登录框：白金风格 */
.login-wrapper { flex: 0 0 420px; max-width: 100%; perspective: 1000px; }
.login-container {
    background: var(--glass);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 45px 40px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s;
}
.login-container:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(139, 126, 102, 0.2); }

.login-header h2 { font-size: 26px; color: var(--text-dark); margin-bottom: 8px; font-weight: 700; }
.login-header p { color: var(--text-muted); font-size: 14px; margin-bottom: 35px; }

/* 输入框 */
.floating-label { position: relative; margin-bottom: 25px; }
.login-form .layui-input {
    background: #fdfdfd; border: 1px solid #e0e0e0;
    color: var(--text-dark); height: 50px; padding-left: 45px; border-radius: 10px; transition: all 0.3s;
}
.login-form .layui-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(194, 178, 128, 0.2); background: #fff; }
.login-form .layui-input:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    box-shadow: none;
}

.login-form i { position: absolute; left: 15px; top: 16px; color: #a0a0a0; font-size: 18px; transition: 0.3s; }
.login-form label { position: absolute; left: 45px; top: 16px; color: #999; font-size: 14px; pointer-events: none; transition: 0.3s; }

/* 浮动标签动画 */
.login-form .layui-input:focus ~ label,
.login-form .layui-input:not(:placeholder-shown) ~ label {
    top: -10px; left: 10px; font-size: 12px; color: var(--primary-dark); background: #fff; padding: 0 5px; border-radius: 4px;
}
.login-form .layui-input:focus + label + i { color: var(--primary-dark); }

.code-row { display: flex; gap: 10px; }
.input-group { flex: 1; position: relative; }
.code-btn {
    height: 50px; padding: 0 18px; background: #f0f0f0; border: none; color: #555;
    border-radius: 10px; cursor: pointer; font-weight: 600; transition: 0.3s; white-space: nowrap;
}
.code-btn:hover { background: #e0e0e0; color: #333; }
.code-btn.verified { background: #e8f5e9; color: #2e7d32; }

/* 登录按钮：奢华渐变 */
.login-btn {
    width: 100%; height: 50px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6d5e53 100%);
    border: none; border-radius: 10px;
    color: #fff; font-size: 16px; font-weight: 600; margin-top: 10px;
    display: flex; justify-content: center; align-items: center; gap: 10px;
    cursor: pointer; box-shadow: 0 10px 20px rgba(109, 94, 83, 0.3); transition: 0.3s;
}
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(109, 94, 83, 0.4); }

.form-footer { text-align: center; margin-top: 20px; }
.text-btn { background: none; border: none; color: #999; font-size: 12px; cursor: pointer; }
.text-btn:hover { color: var(--primary-dark); text-decoration: underline; }

/* 鼠标提示 (深色) */
.scroll-mouse {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    width: 26px; height: 40px; border: 2px solid #ccc; border-radius: 15px; cursor: pointer;
}
.mouse-wheel {
    width: 4px; height: 8px; background: var(--primary-dark); border-radius: 2px;
    position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }

/* === 4. Showcase Section === */
.section { padding: 120px 20px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 80px; position: relative; }
.dark-title { font-size: 42px; color: var(--text-dark); margin-top: 15px; font-weight: 800; }
.tag { color: var(--primary-dark); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: bold; }
.title-line { width: 60px; height: 4px; background: var(--primary); margin: 20px auto 0; border-radius: 2px; }

/* 大案例卡片 */
.big-case { position: relative; margin-bottom: 120px; }
.case-visual img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.glass-card {
    position: absolute; bottom: -40px; right: -40px;
    background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
    padding: 40px; border-radius: 15px; border: 1px solid #fff;
    max-width: 450px; box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.glass-card h3 { font-size: 24px; color: var(--text-dark); margin-bottom: 15px; }
.glass-card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 25px; }
.feature-tags { list-style: none; display: flex; gap: 20px; }
.feature-tags li { font-size: 13px; color: var(--primary-dark); display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* 左右布局 */
.dual-case { display: flex; flex-direction: column; gap: 100px; }
.case-row { display: flex; align-items: center; gap: 80px; }
.case-row.reverse { flex-direction: row-reverse; }
.case-info { flex: 1; }
.case-info h3 { font-size: 32px; color: var(--text-dark); margin-bottom: 20px; }
.case-info h3 i { color: var(--primary); margin-right: 10px; }
.case-info p { font-size: 18px; color: var(--text-muted); line-height: 1.8; }
.case-img-wrapper { flex: 1.2; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.case-img-wrapper img { width: 100%; display: block; transition: 0.5s; }
.case-img-wrapper:hover img { transform: scale(1.03); }

/* === 5. Bento Grid === */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.bento-card {
    background: #fff; border: 1px solid rgba(0,0,0,0.03); border-radius: 20px;
    padding: 35px; position: relative; overflow: hidden; transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex; flex-direction: column; justify-content: flex-end; height: 260px;
}
.bento-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.card-icon { font-size: 36px; color: var(--primary); margin-bottom: auto; }
.bento-card h3 { color: var(--text-dark); font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.bento-card p { color: var(--text-muted); font-size: 15px; }
.map-decoration { font-size: 140px; color: rgba(0,0,0,0.03); position: absolute; right: 20px; top: 10px; }

/* === 6. Footer === */
.footer { padding: 100px 0 50px; text-align: center; border-top: 1px solid rgba(0,0,0,0.05); background: #fdfdfd; }
.footer h2 { font-size: 36px; color: var(--text-dark); margin-bottom: 30px; }
.glow-btn {
    padding: 16px 50px; background: var(--text-dark); color: #fff;
    border: none; border-radius: 30px; font-size: 18px; font-weight: bold; cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: 0.3s;
}
.glow-btn:hover { background: var(--primary-dark); transform: scale(1.05); }
.copyright { margin-top: 60px; color: #aaa; font-size: 12px; }

/* === 8. 协议提示 === */
.agreement-tip {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.agreement-tip a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 2px;
}

.agreement-tip a:hover {
    text-decoration: underline;
}

/* === 9. 动画与响应式 === */
.reveal-up, .reveal-down, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.9); }
.active { opacity: 1; transform: translate(0) scale(1); }

@media (max-width: 1024px) {
    .hero-content { flex-direction: column; justify-content: center; text-align: center; }
    .hero-text { margin-bottom: 40px; }
    .hero-stats { justify-content: center; }
    .glass-card { position: static; max-width: 100%; margin-top: 20px; }
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: span 1; }
    .case-row { flex-direction: column; }
    .case-row.reverse { flex-direction: column; }
}
