/* =========================================
   灵搭 LingDa - 最终修复版 (Style.css)
   ========================================= */

/* --- 1. 全局设置 --- */
:root {
    --primary-color: #D4AF37; /* 品牌金 */
    --bg-color: #FFFFFF;
    --text-main: #1A1A1A;
    --text-sub: #666666;
    --section-bg: #F9F9F9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, "HarmonyOS Sans SC", "Helvetica Neue", sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 2. 导航栏 --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; }
.logo span { color: var(--primary-color); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-main); }
.nav-links a:hover { color: var(--primary-color); }

/* --- 3. 首屏 Hero 区域 --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.7)), url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
}
.hero-content { z-index: 10; max-width: 900px; width: 100%; }
.hero-content h1 { font-size: 64px; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; color: #000; }
.hero-content p { font-size: 20px; color: var(--text-sub); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--text-main);
    color: #fff;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.btn-primary:hover { background: var(--primary-color); transform: translateY(-3px); }

/* 图片悬停动效 */
.app-screen { transition: all 0.4s ease; background: #fff; }
.app-screen:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.3) !important;
    z-index: 10;
}

/* --- 4. 核心功能 (Features) --- */
.features { padding: 100px 10%; background: #fff; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 60px; font-weight: bold; color: #1A1A1A; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 50px; }
.feature-item { padding: 40px; background: var(--section-bg); border-radius: 20px; transition: 0.3s; text-align: center; }
.feature-item:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.feature-item h3 { font-size: 20px; margin-bottom: 10px; margin-top: 15px; color: #1A1A1A; }
.feature-item p { font-size: 14px; color: #666; }

.icon-box {
    width: 60px; height: 60px; margin-bottom: 10px;
    fill: none; stroke: var(--primary-color); stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round; transition: 0.3s;
}
.feature-item:hover .icon-box { transform: scale(1.1); stroke: #1A1A1A; }

/* --- 5. 使用流程 (关键修复点) --- */
.steps-section { 
    padding: 100px 10%; 
    background: #fff; 
    text-align: center; 
    border-top: 1px solid #f0f0f0; 
}
.steps-grid { 
    display: flex; 
    justify-content: space-between; 
    gap: 40px; 
    margin-top: 60px; 
    flex-wrap: wrap; 
}
.step-item { 
    flex: 1; 
    min-width: 250px; 
    position: relative; 
    padding: 20px; 
}
.step-number {
    font-size: 80px; 
    font-weight: 900; 
    color: rgba(212, 175, 55, 0.15);
    position: absolute; 
    top: -30px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 0;
}
.step-content { 
    position: relative; 
    z-index: 1; 
    padding-top: 20px; 
}
.step-content h3 { font-size: 20px; margin-bottom: 10px; color: #1A1A1A; }
.step-content p { font-size: 14px; color: #666; }

/* --- 6. 用户评价 (关键修复点) --- */
.reviews-section { padding: 100px 10%; background: #F9F9F9; }
.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.review-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.stars { color: var(--primary-color); margin-bottom: 15px; letter-spacing: 2px; font-size: 18px; }
.review-text { font-style: italic; color: #555; margin-bottom: 20px; font-size: 15px; line-height: 1.8; }
.user-info { display: flex; align-items: center; gap: 15px; }
.user-name { font-weight: bold; font-size: 14px; color: #333; }
.user-role { font-size: 12px; color: #999; }

/* --- 7. 底部 CTA --- */
.cta-strip { background: #1A1A1A; color: #fff; padding: 100px 20px; text-align: center; }
.cta-strip h2 { font-size: 36px; margin-bottom: 20px; color: #fff; }
.cta-strip p { color: #888; margin-bottom: 40px; }

/* --- 8. 页脚 --- */
footer { background: #111; color: #fff; padding: 60px 10% 20px; text-align: center; }
.footer-links { margin-bottom: 30px; display: flex; justify-content: center; gap: 30px; }
.footer-links a { color: #888; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.copyright { color: #444; font-size: 12px; }

/* 动画类 */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- 9. 移动端适配 (合并在同一文件，防止加载失败) --- */
@media screen and (max-width: 768px) {
    .hero-content h1 { font-size: 42px; line-height: 1.2; }
    .hero-content p { font-size: 16px; padding: 0 20px; }
    header { padding: 15px 20px; }
    .nav-links a:not([href*="app"]) { display: none; }
    .logo { font-size: 20px; }
    .features, .steps-section, .reviews-section { padding: 60px 20px; }
    .section-title { font-size: 24px; margin-bottom: 40px; }
    .feature-grid, .reviews-grid { grid-template-columns: 1fr; gap: 30px; }
    .steps-grid { flex-direction: column; gap: 40px; }
    .footer-links { flex-direction: column; gap: 15px; margin-bottom: 20px; }
}