/* udunapp.com 前台样式 - 浅色专业主题 */
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;background:#f5f7fa;color:#444;font-size:15px;line-height:1.8;}

.container{max-width:1100px;margin:0 auto;padding:0 20px;}

/* 导航 */
.header{background:#fff;border-bottom:1px solid #e8ecf1;position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,0.04);}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:10px 0;}
.logo{display:flex;align-items:center;gap:8px;}
.logo-img{height:38px;width:auto;}
.logo-text{color:#0abe5f;font-size:20px;font-weight:700;letter-spacing:1px;}
.nav{display:flex;gap:2px;}
.nav-link{padding:8px 18px;color:#666;text-decoration:none;border-radius:6px;font-size:14px;transition:all .2s;}
.nav-link:hover{color:#0abe5f;background:rgba(10,190,95,0.06);}
.nav-link.active{color:#0abe5f;background:rgba(10,190,95,0.08);font-weight:600;}

/* Hero */
.hero{padding:70px 0 50px;text-align:center;position:relative;overflow:hidden;background:linear-gradient(135deg,#0abe5f 0%,#089d4f 100%);}
.hero h1{font-size:34px;color:#fff;margin-bottom:14px;font-weight:700;line-height:1.3;text-shadow:0 1px 3px rgba(0,0,0,0.1);}
.hero-sub{font-size:16px;color:rgba(255,255,255,0.9);max-width:650px;margin:0 auto 30px;line-height:1.7;}

/* 下载区卡片 - 白色浮层 */
.download-section{background:rgba(255,255,255,0.95);border-radius:16px;padding:32px;max-width:900px;margin:0 auto;box-shadow:0 4px 20px rgba(0,0,0,0.08);}
.download-section .section-title{color:#0abe5f;font-size:20px;margin-bottom:4px;}
.download-grid{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:20px;}
.download-card{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e0e4ea;border-radius:12px;padding:18px 24px;text-decoration:none;transition:all .3s;min-width:240px;}
.download-card:hover{border-color:#0abe5f;transform:translateY(-3px);box-shadow:0 6px 20px rgba(10,190,95,0.12);}
.dl-icon{font-size:32px;line-height:1;}
.dl-info{text-align:left;}
.dl-title{color:#222;font-size:15px;font-weight:600;margin-bottom:3px;}
.dl-version{color:#888;font-size:12px;}
.dl-count{color:#aaa;font-size:11px;margin-top:1px;}
.download-note{color:#999;font-size:13px;margin-top:16px;}

/* 产品区 */
.products{padding:60px 0;background:#fff;}
.section-title{font-size:24px;color:#222;text-align:center;margin-bottom:6px;font-weight:700;}
.section-sub{font-size:14px;color:#999;text-align:center;margin-bottom:30px;}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:30px;}
.product-card{background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:20px;text-align:center;transition:all .3s;box-shadow:0 2px 8px rgba(0,0,0,0.04);}
.product-card:hover{border-color:#0abe5f;transform:translateY(-4px);box-shadow:0 8px 24px rgba(10,190,95,0.1);}
.product-img{width:100%;height:170px;object-fit:cover;border-radius:8px;margin-bottom:14px;background:#f0f2f5;}
.product-card h3{color:#222;font-size:16px;margin-bottom:8px;}
.product-card p{color:#777;font-size:13px;line-height:1.7;}

/* 功能特性 */
.features{padding:60px 0;background:#f5f7fa;}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px;}
.feature-item{background:#fff;border:1px solid #e8ecf1;border-radius:10px;padding:24px;text-align:center;transition:all .3s;box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.feature-item:hover{border-color:#0abe5f;box-shadow:0 4px 16px rgba(10,190,95,0.08);}
.feature-icon{font-size:34px;margin-bottom:10px;}
.feature-item h3{color:#222;font-size:15px;margin-bottom:6px;}
.feature-item p{color:#888;font-size:13px;line-height:1.6;}

/* 为什么选我们 */
.why-us{padding:60px 0;background:#fff;}
.why-content{display:flex;gap:40px;align-items:center;margin-top:30px;}
.why-text{flex:1;}
.why-text p{color:#555;font-size:15px;margin-bottom:14px;}
.why-text ul{list-style:none;padding:0;}
.why-text ul li{padding:6px 0;padding-left:24px;position:relative;color:#666;font-size:14px;}
.why-text ul li::before{content:"✓";position:absolute;left:0;color:#0abe5f;font-weight:700;}
.why-stats{text-align:center;min-width:200px;}
.big-stat{font-size:44px;font-weight:700;color:#0abe5f;line-height:1.1;}
.big-stat-label{color:#999;font-size:14px;margin-bottom:18px;}

/* FAQ */
.faq-section{padding:60px 0;background:#f5f7fa;}
.faq-list{max-width:800px;margin:30px auto 0;}
.faq-item{margin-bottom:12px;padding:18px 22px;background:#fff;border:1px solid #e8ecf1;border-radius:10px;transition:all .3s;box-shadow:0 1px 3px rgba(0,0,0,0.03);}
.faq-item:hover{border-color:#0abe5f;}
.faq-item h3{color:#0abe5f;font-size:15px;margin-bottom:6px;cursor:pointer;}
.faq-item p{color:#666;font-size:14px;line-height:1.7;}

/* 文章区 */
.latest-articles{padding:60px 0;background:#fff;}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px;}
.article-card{background:#fff;border:1px solid #e8ecf1;border-radius:10px;overflow:hidden;text-decoration:none;transition:all .3s;display:block;box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.article-card:hover{border-color:#0abe5f;transform:translateY(-3px);box-shadow:0 6px 20px rgba(10,190,95,0.1);}
.article-cover{width:100%;height:160px;object-fit:cover;background:#f0f2f5;}
.article-info{padding:16px;}
.article-info h3{color:#222;font-size:15px;margin-bottom:6px;line-height:1.4;}
.article-info p{color:#888;font-size:13px;margin-bottom:6px;}
.article-date{color:#aaa;font-size:12px;}

/* CTA */
.cta-section{padding:60px 0;text-align:center;background:linear-gradient(135deg,#0abe5f,#089d4f);}
.cta-section h2{color:#fff;font-size:26px;margin-bottom:8px;}
.cta-section p{color:rgba(255,255,255,0.85);font-size:15px;margin-bottom:22px;}
.cta-button{display:inline-block;padding:14px 44px;background:#fff;color:#0abe5f;text-decoration:none;border-radius:8px;font-size:16px;font-weight:700;transition:all .2s;box-shadow:0 2px 8px rgba(0,0,0,0.1);}
.cta-button:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,0.15);}

/* 页脚 */
.footer{padding:30px 0;background:#fff;border-top:1px solid #e8ecf1;text-align:center;}
.footer-links{display:flex;justify-content:center;gap:20px;margin-bottom:14px;flex-wrap:wrap;}
.footer-links a{color:#999;text-decoration:none;font-size:13px;transition:color .2s;}
.footer-links a:hover{color:#0abe5f;}
.footer p{color:#bbb;font-size:13px;}

/* 文章页 */
.article-page{padding:40px 0;}
.article-header{text-align:center;margin-bottom:30px;}
.article-header h1{color:#0abe5f;font-size:28px;line-height:1.3;}
.article-meta{color:#999;font-size:13px;margin-top:8px;}
.article-body{max-width:800px;margin:0 auto;background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:30px;line-height:1.9;color:#444;font-size:15px;box-shadow:0 1px 4px rgba(0,0,0,0.03);}
.article-body img{max-width:100%;border-radius:8px;margin:16px 0;}
.article-body h2{color:#0abe5f;font-size:20px;margin:24px 0 12px;border-bottom:1px solid #e8ecf1;padding-bottom:8px;}
.article-body h3{color:#333;font-size:17px;margin:20px 0 10px;}
.article-body p{margin-bottom:14px;color:#555;}
.article-body ul,.article-body ol{padding-left:24px;margin-bottom:14px;color:#555;}
.article-body a{color:#0abe5f;text-decoration:underline;}
.article-cta{max-width:800px;margin:30px auto;text-align:center;padding:30px;background:linear-gradient(135deg,#0abe5f,#089d4f);border-radius:12px;}
.article-cta p{color:rgba(255,255,255,0.9);margin-bottom:14px;}
.article-cta a{display:inline-block;padding:12px 36px;background:#fff;color:#0abe5f;text-decoration:none;border-radius:8px;font-weight:700;box-shadow:0 2px 8px rgba(0,0,0,0.1);transition:all .2s;}
.article-cta a:hover{transform:translateY(-2px);}

/* 下载页 */
.download-page{padding:40px 0;}

/* 响应式 */
@media (max-width:768px){
    .hero h1{font-size:24px;}
    .hero{padding:50px 0 30px;}
    .download-section{padding:20px;border-radius:12px;}
    .product-grid,.features-grid,.article-grid{grid-template-columns:1fr;}
    .download-grid{flex-direction:column;align-items:stretch;}
    .download-card{min-width:auto;}
    .why-content{flex-direction:column;text-align:center;}
    .nav{gap:0;}
    .nav-link{padding:6px 10px;font-size:12px;}
    .section-title{font-size:20px;}
}
