/* ky2 - SaaS Corporate */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;background:#fafbfc;color:#1a1a2e;font-size:15px;line-height:1.7}
a{color:#2563eb;text-decoration:none;transition:.3s}a:hover{color:#1d4ed8}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none;padding:0;margin:0}

/* Sidebar */
.sb-sidebar{position:fixed;top:0;left:0;bottom:0;width:220px;background:#fff;border-right:1px solid #e5e7eb;z-index:9999;padding:30px 20px;display:flex;flex-direction:column;gap:30px;overflow-y:auto}
.sb-logo{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:700;color:#1a1a2e}
.sb-logo img{height:32px}
.sb-nav{display:flex;flex-direction:column;gap:4px;flex:1}
.sb-nav a{display:block;padding:10px 14px;border-radius:8px;color:#64748b;font-size:14px;font-weight:500;transition:.2s}
.sb-nav a:hover,.sb-nav a.active{color:#2563eb;background:#eff6ff}
.sb-nav .sb-dropdown{position:relative}
.sb-nav .sb-dropdown .sb-drop-toggle::after{content:' ▾';font-size:10px}
.sb-nav .sb-dropdown .sb-drop-menu{display:none;padding-left:12px;margin-top:2px}
.sb-nav .sb-dropdown:hover .sb-drop-menu{display:block}
.sb-nav .sb-drop-menu a{padding:8px 12px;font-size:13px}
.sb-sidebar .sb-cta{margin-top:auto}
.sb-sidebar .sb-cta a{display:block;text-align:center;padding:10px;background:#2563eb;color:#fff;border-radius:8px;font-weight:600;font-size:14px}
.sb-menu-toggle{display:none;position:fixed;top:16px;left:16px;z-index:10001;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:20px}

/* Main area */
.sb-main{margin-left:220px;min-height:100vh}
.sb-container{max-width:1000px;margin:0 auto;padding:0 40px}

/* Hero */
.sb-hero{padding:100px 0 60px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.sb-hero .h-text h1{font-size:48px;font-weight:800;line-height:1.15;margin-bottom:18px;letter-spacing:-1px}
.sb-hero .h-text h1 span{color:#2563eb}
.sb-hero .h-text .h-desc{font-size:17px;color:#64748b;margin-bottom:28px;max-width:440px}
.sb-hero .h-text .h-btns{display:flex;gap:12px}
.sb-hero .h-visual{position:relative}
.sb-hero .h-visual .h-shape{width:100%;aspect-ratio:1;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:30% 70% 70% 30% / 30% 30% 70% 70%;animation:morph 8s ease-in-out infinite}
@keyframes morph{0%,100%{border-radius:30% 70% 70% 30% / 30% 30% 70% 70%}50%{border-radius:70% 30% 30% 70% / 70% 70% 30% 30%}}
.sb-hero .h-visual img{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:70%;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.15)}

/* Buttons */
.sb-btn{display:inline-block;padding:12px 28px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:.3s;border:none;white-space:nowrap}
.sb-btn-primary{background:#2563eb;color:#fff;box-shadow:0 4px 14px rgba(37,99,235,0.3)}
.sb-btn-primary:hover{background:#1d4ed8;transform:translateY(-1px);box-shadow:0 6px 20px rgba(37,99,235,0.4);color:#fff}
.sb-btn-outline{background:#fff;color:#2563eb;border:1px solid #2563eb}
.sb-btn-outline:hover{background:#eff6ff}

/* Section */
.sb-section{padding:80px 0}
.sb-section-header{margin-bottom:40px}
.sb-section-header .label{display:inline-block;padding:4px 12px;background:#eff6ff;color:#2563eb;border-radius:20px;font-size:12px;font-weight:600;margin-bottom:10px}
.sb-section-header h2{font-size:32px;font-weight:700;margin-bottom:8px}
.sb-section-header p{color:#64748b;font-size:16px}

/* Stats */
.sb-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.sb-stat{border:1px solid #e5e7eb;border-radius:16px;padding:30px 24px;text-align:center;transition:.3s}
.sb-stat:hover{border-color:#2563eb;box-shadow:0 8px 30px rgba(37,99,235,0.08)}
.sb-stat .num{font-size:36px;font-weight:800;color:#2563eb}
.sb-stat .lbl{font-size:14px;color:#64748b;margin-top:4px}

/* Bento Grid */
.sb-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:auto auto;gap:16px}
.sb-bento-item{border:1px solid #e5e7eb;border-radius:16px;padding:28px;transition:.3s;background:#fff}
.sb-bento-item:hover{border-color:#2563eb;box-shadow:0 8px 25px rgba(0,0,0,0.06)}
.sb-bento-item.span2{grid-column:span 2}
.sb-bento-item .b-icon{width:48px;height:48px;border-radius:12px;margin-bottom:16px;overflow:hidden;background:#eff6ff;display:flex;align-items:center;justify-content:center}
.sb-bento-item .b-icon img{width:100%;height:100%;object-fit:cover}
.sb-bento-item h4{font-size:17px;font-weight:600;margin-bottom:6px}
.sb-bento-item p{font-size:14px;color:#64748b;line-height:1.5}

/* Timeline */
.sb-timeline{position:relative;padding-left:40px}
.sb-timeline::before{content:'';position:absolute;left:18px;top:0;bottom:0;width:2px;background:#e5e7eb}
.sb-tl-item{position:relative;margin-bottom:40px;padding-left:40px}
.sb-tl-item::before{content:'';position:absolute;left:-30px;top:4px;width:12px;height:12px;background:#2563eb;border-radius:50%;border:3px solid #dbeafe}
.sb-tl-item .tl-date{font-size:13px;color:#2563eb;font-weight:600;margin-bottom:4px}
.sb-tl-item h4{font-size:18px;font-weight:600;margin-bottom:4px}
.sb-tl-item p{color:#64748b;font-size:14px}

/* Testimonials */
.sb-testi{overflow:hidden}
.sb-testi-track{display:flex;gap:24px;animation:testi-scroll 30s linear infinite;width:fit-content}
.sb-testi-track:hover{animation-play-state:paused}
.sb-testi-card{flex-shrink:0;width:340px;border:1px solid #e5e7eb;border-radius:16px;padding:24px;background:#fff}
.sb-testi-card .t-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;margin-bottom:12px}
.sb-testi-card .t-avatar img{width:100%;height:100%;object-fit:cover}
.sb-testi-card .t-text{font-size:14px;color:#475569;line-height:1.6;margin-bottom:12px}
.sb-testi-card .t-name{font-weight:600;font-size:14px}
.sb-testi-card .t-role{font-size:12px;color:#94a3b8}
@keyframes testi-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* News Grid */
.sb-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.sb-news-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:.3s;background:#fff}
.sb-news-card:hover{border-color:#2563eb;box-shadow:0 6px 20px rgba(0,0,0,0.06);transform:translateY(-3px)}
.sb-news-card .n-img{height:160px;overflow:hidden;background:#f1f5f9}
.sb-news-card .n-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.sb-news-card:hover .n-img img{transform:scale(1.05)}
.sb-news-card .n-info{padding:18px}
.sb-news-card .n-info h4{font-size:15px;font-weight:600;margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-news-card .n-info .n-time{font-size:12px;color:#94a3b8}

/* Partners */
.sb-partner-wrap{overflow:hidden}
.sb-partner-track{display:flex;animation:p-scroll 20s linear infinite;width:fit-content;gap:30px}
.sb-partner-track:hover{animation-play-state:paused}
.sb-partner-item{flex-shrink:0;padding:16px 30px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;display:flex;align-items:center;min-width:150px;transition:.3s}
.sb-partner-item:hover{border-color:#2563eb}
.sb-partner-item img{height:120px;width:auto;object-fit:contain}
@keyframes p-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* FAQ */
.sb-faq{max-width:700px}
.sb-faq-item{border:1px solid #e5e7eb;border-radius:12px;margin-bottom:8px;overflow:hidden;background:#fff}
.sb-faq-item .q{padding:16px 20px;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:.2s}
.sb-faq-item .q:hover{background:#f8fafc}
.sb-faq-item .q::after{content:'+';font-size:18px;color:#2563eb}
.sb-faq-item.open .q::after{content:'−'}
.sb-faq-item .a{padding:0 20px;max-height:0;overflow:hidden;transition:.3s;color:#64748b;font-size:14px}
.sb-faq-item.open .a{padding:0 20px 16px;max-height:240px}

/* Footer */
.sb-footer{background:#1e293b;color:#94a3b8;padding:60px 0 30px;margin-left:220px}
.sb-footer .f-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;max-width:1000px;margin:0 auto;padding:0 40px}
.sb-footer h4{color:#f1f5f9;font-size:15px;margin-bottom:14px}
.sb-footer a{color:#94a3b8;font-size:14px;line-height:2;display:block}
.sb-footer a:hover{color:#fff}
.sb-footer .f-bottom{text-align:center;padding-top:30px;margin-top:30px;border-top:1px solid rgba(255,255,255,0.08);font-size:13px;max-width:1000px;margin-left:auto;margin-right:auto;padding-left:40px;padding-right:40px}

/* Inner Pages */
.sb-inner{margin-left:220px;padding-top:60px}
.sb-row{display:flex;flex-wrap:wrap;margin:0-15px}
.sb-col-main{flex:0 0 66.66%;max-width:66.66%;padding:0 15px}
.sb-col-side{flex:0 0 33.33%;max-width:33.33%;padding:0 15px}
.sb-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:20px;overflow:hidden}
.sb-card-hd{padding:18px 24px;border-bottom:1px solid #e5e7eb}
.sb-card-hd h2,.sb-card-hd h3{margin:0;font-size:17px;font-weight:700}
.sb-card-bd{padding:24px}
.sb-bread{padding:12px 0;font-size:13px;color:#94a3b8}.sb-bread a{color:#64748b}.sb-bread a:hover{color:#2563eb}
.sb-art-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px solid #f1f5f9}
.sb-art-item:last-child{border-bottom:none}
.sb-art-item .art-t{width:180px;height:120px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#f1f5f9}
.sb-art-item .art-t img{width:100%;height:100%;object-fit:cover;transition:.4s}
.sb-art-item .art-t:hover img{transform:scale(1.06)}
.sb-art-item .art-i{flex:1;min-width:0}
.sb-art-item .art-i h4{font-size:16px;font-weight:600;margin-bottom:6px}
.sb-art-item .art-i h4 a{color:#1a1a2e}.sb-art-item .art-i h4 a:hover{color:#2563eb}
.sb-art-item .art-i .art-d{font-size:13px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:4px}
.sb-art-item .art-i .art-m{font-size:12px;color:#cbd5e1}
.sb-list-i{padding:8px 0;border-bottom:1px solid #f1f5f9}.sb-list-i:last-child{border-bottom:none}
.sb-list-i a{color:#475569;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}.sb-list-i a:hover{color:#2563eb}
.sb-list-i .lt{font-size:12px;color:#cbd5e1;margin-top:2px}
.sb-tags{display:flex;flex-wrap:wrap;gap:6px}
.sb-tags a{padding:5px 12px;background:#eff6ff;color:#2563eb;border-radius:6px;font-size:12px;transition:.2s}
.sb-tags a:hover{background:#dbeafe}
.sb-pag{display:flex;justify-content:center;gap:6px;padding:24px 0 10px}
.sb-pag a,.sb-pag span{padding:7px 13px;border-radius:6px;background:#fff;color:#64748b;font-size:13px;border:1px solid #e5e7eb}
.sb-pag a:hover{background:#eff6ff;color:#2563eb;border-color:#2563eb}
.sb-pag .active span{background:#2563eb;color:#fff;border-color:#2563eb}
.sb-dbody{font-size:16px;line-height:1.9;color:#334155}
.sb-dbody img{max-width:100%;border-radius:8px;margin:16px 0}
.sb-dbody a{color:#2563eb}
.sb-meta{display:flex;gap:16px;font-size:13px;color:#94a3b8;padding-bottom:14px;border-bottom:1px solid #e5e7eb;margin-bottom:18px}
.sb-pn{display:flex;gap:16px;padding:16px 0;border-top:1px solid #e5e7eb;margin-top:24px}
.sb-pn>div{flex:1}.sb-pn .lbl{font-size:12px;color:#cbd5e1;margin-bottom:3px}
.sb-pn a{color:#475569;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}
.sb-404{text-align:center;padding:100px 20px;min-height:50vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.sb-404 .code{font-size:120px;font-weight:900;color:#e5e7eb;line-height:1}
.sb-404 .msg{font-size:18px;color:#94a3b8;margin:16px 0 28px}
.sb-sh{position:fixed;top:0;left:220px;right:0;background:#fff;z-index:9998;border-bottom:1px solid #e5e7eb;padding:12px 40px}
.sb-sm{padding-top:60px}
.sb-th{display:flex;align-items:center;gap:14px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e5e7eb}
.sb-th .t-icon{width:44px;height:44px;background:#eff6ff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#2563eb;font-size:18px}
.sb-th h2{font-size:18px;margin:0}.sb-th p{font-size:13px;color:#94a3b8;margin:0}

/* Responsive */
@media(max-width:992px){
  .sb-sidebar{transform:translateX(-100%);transition:.3s}
  .sb-sidebar.open{transform:translateX(0)}
  .sb-menu-toggle{display:block}
  .sb-main{margin-left:0}
  .sb-footer{margin-left:0}
  .sb-inner{margin-left:0}
  .sb-sh{left:0}
  .sb-hero{grid-template-columns:1fr;gap:30px;text-align:center;padding:80px 0 40px}
  .sb-hero .h-text .h-desc{max-width:100%}
  .sb-hero .h-text .h-btns{justify-content:center}
  .sb-stats{grid-template-columns:1fr 1fr}
  .sb-bento{grid-template-columns:1fr 1fr}
  .sb-bento-item.span2{grid-column:span 1}
  .sb-news-grid{grid-template-columns:1fr 1fr}
  .sb-col-main,.sb-col-side{flex:0 0 100%;max-width:100%}
  .sb-art-item{flex-direction:column}.sb-art-item .art-t{width:100%;height:150px}
  .sb-testi-card{width:280px}
  .sb-footer .f-grid{grid-template-columns:1fr 1fr}
  .sb-partner-item img{height:80px}
}
@media(max-width:576px){
  .sb-hero .h-text h1{font-size:32px}
  .sb-stats,.sb-bento,.sb-news-grid{grid-template-columns:1fr}
  .sb-section{padding:50px 0}.sb-section-header h2{font-size:24px}
  .sb-footer .f-grid{grid-template-columns:1fr}
  .sb-partner-item{padding:12px 16px;min-width:110px}.sb-partner-item img{height:60px}
}
