
/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;background:#F3F0F7;color:#3D2B5E;line-height:1.6;min-width:320px}
a{color:#2D1B4E;text-decoration:none;transition:all .2s}
a:hover{color:#00D4AA}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.3}
input,textarea,button{font-family:inherit}
button{cursor:pointer;border:none;outline:none}
.container{width:92%;max-width:1200px;margin:0 auto;padding:0 15px}
.clearfix::after{content:"";display:table;clear:both}

/* ===== HEADER ===== */
.header{background:#2D1B4E;position:sticky;top:0;z-index:1000;box-shadow:0 2px 10px rgba(0,0,0,.3)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:70px}
.logo{display:flex;flex-direction:column;align-items:center;color:#F0F2F5;text-decoration:none}
.logo .logo-cn{font-size:22px;font-weight:700;line-height:1.2;letter-spacing:4px}
.logo .logo-en{font-size:10px;letter-spacing:3px;opacity:.8;margin-top:2px}
.nav{display:flex;align-items:center;gap:5px}
.nav-item{position:relative}
.nav-link{color:#F0F2F5;padding:8px 14px;font-size:14px;border-radius:4px;display:block;white-space:nowrap}
.nav-link:hover,.nav-link.active{background:rgba(0,212,170,.2);color:#00D4AA}
.nav-dropdown{position:absolute;top:100%;left:0;background:#2D1B4E;min-width:200px;border-radius:0 0 8px 8px;box-shadow:0 8px 20px rgba(0,0,0,.4);opacity:0;visibility:hidden;transform:translateY(-10px);transition:all .3s;padding:8px 0}
.nav-item:hover .nav-dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown-link{color:#F0F2F5;padding:10px 20px;font-size:13px;display:block;border-left:3px solid transparent}
.dropdown-link:hover{background:rgba(0,212,170,.15);color:#00D4AA;border-left-color:#00D4AA}
.mobile-toggle{display:none;background:none;border:none;color:#F0F2F5;font-size:24px;cursor:pointer}

/* ===== BANNER ===== */
.banner{position:relative;overflow:hidden}
.banner-slide{position:relative;width:100%;overflow:hidden}
.banner-slide img{width:100%;height:500px;object-fit:cover;display:block}
.banner-content{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(26,15,46,.9));padding:60px 0 40px;color:#F0F2F5}
.banner-content h2{font-size:32px;margin-bottom:12px;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.banner-content p{font-size:16px;opacity:.9;max-width:700px}
.banner-dots{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:10}
.banner-dot{width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:all .3s}
.banner-dot.active{background:#00D4AA;transform:scale(1.2)}

/* ===== SECTIONS ===== */
.section{padding:60px 0}
.section-title{text-align:center;margin-bottom:40px}
.section-title h2{font-size:28px;color:#2D1B4E;margin-bottom:10px}
.section-title p{color:#666;font-size:15px}
.section-bg{background:#fff}
.section-dark{background:#1A0F2E;color:#F0F2F5}
.section-dark .section-title h2{color:#F0F2F5}
.section-dark .section-title p{color:rgba(240,242,245,.7)}

/* ===== CARDS ===== */
.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:25px}
.card{background:#fff;border-radius:12px;padding:30px;transition:all .3s;box-shadow:0 2px 15px rgba(45,27,78,.08);border:1px solid #D4CFE0}
.card:hover{transform:translateY(-5px);box-shadow:0 8px 30px rgba(45,27,78,.15);border-color:#00D4AA}
.card-icon{font-size:36px;margin-bottom:15px}
.card h3{font-size:18px;color:#2D1B4E;margin-bottom:10px}
.card p{font-size:14px;color:#666;line-height:1.7}
.card-img{width:100%;height:180px;object-fit:cover;border-radius:8px;margin-bottom:15px}

/* ===== SERVICE CARDS (large) ===== */
.service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.service-card{background:linear-gradient(135deg,#2D1B4E,#3D2B5E);border-radius:12px;padding:30px;color:#F0F2F5;transition:all .3s;text-align:center}
.service-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,212,170,.2)}
.service-card .icon{font-size:40px;margin-bottom:15px;display:block}
.service-card h3{font-size:18px;margin-bottom:10px;color:#00D4AA}
.service-card p{font-size:14px;opacity:.9;line-height:1.6}

/* ===== STATS ===== */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;text-align:center}
.stat-number{font-size:48px;font-weight:700;color:#00D4AA;line-height:1}
.stat-label{font-size:15px;color:rgba(240,242,245,.8);margin-top:10px}

/* ===== WIKI/NEWS LIST ===== */
.article-list{display:grid;gap:25px}
.article-item{display:flex;gap:20px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 10px rgba(45,27,78,.08);transition:all .3s;border:1px solid #D4CFE0}
.article-item:hover{transform:translateY(-3px);box-shadow:0 5px 20px rgba(45,27,78,.12)}
.article-img{width:300px;min-height:200px;object-fit:cover;flex-shrink:0}
.article-body{padding:25px;flex:1;display:flex;flex-direction:column;justify-content:center}
.article-body h3{font-size:18px;color:#2D1B4E;margin-bottom:10px}
.article-body h3 a:hover{color:#00D4AA}
.article-body p{color:#666;font-size:14px;line-height:1.7;margin-bottom:12px}
.article-meta{font-size:13px;color:#999;display:flex;gap:15px}
.article-tag{background:#00D4AA;color:#fff;padding:3px 10px;border-radius:20px;font-size:12px}

/* ===== PARTNERS ===== */
.partner-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:25px;align-items:center;justify-items:center}
.partner-item{background:#fff;padding:20px;border-radius:10px;box-shadow:0 2px 8px rgba(45,27,78,.08);width:100%;text-align:center;transition:all .3s}
.partner-item:hover{transform:scale(1.05);box-shadow:0 5px 15px rgba(0,212,170,.2)}
.partner-item span{font-size:16px;font-weight:600;color:#2D1B4E}

/* ===== FOOTER ===== */
.footer{background:#1A0F2E;color:#F0F2F5;padding:50px 0 20px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px;margin-bottom:30px}
.footer-col h4{font-size:16px;margin-bottom:20px;color:#00D4AA}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{color:rgba(240,242,245,.7);font-size:14px}
.footer-col ul li a:hover{color:#00D4AA}
.footer-col p{font-size:14px;color:rgba(240,242,245,.7);line-height:1.8;margin-bottom:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:20px;text-align:center;font-size:13px;color:rgba(240,242,245,.5)}

/* ===== CONTACT SECTION ===== */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:25px}
.contact-card{background:#fff;border-radius:12px;padding:30px;text-align:center;box-shadow:0 2px 10px rgba(45,27,78,.08);border:1px solid #D4CFE0;transition:all .3s}
.contact-card:hover{transform:translateY(-3px);box-shadow:0 5px 20px rgba(45,27,78,.12)}
.contact-icon{font-size:32px;color:#00D4AA;margin-bottom:12px}
.contact-card h4{font-size:16px;color:#2D1B4E;margin-bottom:8px}
.contact-card p{font-size:14px;color:#666}

/* ===== BUTTONS ===== */
.btn{display:inline-block;padding:12px 30px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s;text-align:center}
.btn-primary{background:#00D4AA;color:#fff}
.btn-primary:hover{background:#00b894;color:#fff;transform:translateY(-2px);box-shadow:0 5px 15px rgba(0,212,170,.3)}
.btn-outline{border:2px solid #00D4AA;color:#00D4AA;background:transparent}
.btn-outline:hover{background:#00D4AA;color:#fff}

/* ===== BREADCRUMB ===== */
.breadcrumb{background:#2D1B4E;padding:15px 0;color:rgba(240,242,245,.7);font-size:13px}
.breadcrumb a{color:rgba(240,242,245,.7)}
.breadcrumb a:hover{color:#00D4AA}
.breadcrumb span{color:#00D4AA}

/* ===== ARTICLE CONTENT ===== */
.article-content{background:#fff;padding:40px;border-radius:12px;box-shadow:0 2px 10px rgba(45,27,78,.08)}
.article-content h1{font-size:26px;color:#2D1B4E;margin-bottom:20px}
.article-content h2{font-size:20px;color:#2D1B4E;margin:30px 0 15px;padding-bottom:8px;border-bottom:2px solid #00D4AA}
.article-content h3{font-size:16px;color:#3D2B5E;margin:20px 0 10px}
.article-content p{font-size:15px;color:#444;line-height:1.8;margin-bottom:15px;text-align:justify}
.article-content ul,.article-content ol{margin-bottom:15px;padding-left:25px}
.article-content ul li{list-style:disc;margin-bottom:8px;color:#444;line-height:1.7}
.article-content ol li{list-style:decimal;margin-bottom:8px;color:#444;line-height:1.7}
.article-content img{border-radius:8px;margin:20px 0}
.article-content a{color:#00D4AA;text-decoration:underline}
.article-content a:hover{color:#2D1B4E}
.article-meta-bar{display:flex;gap:20px;font-size:13px;color:#999;margin-bottom:25px;flex-wrap:wrap}

/* ===== SIDEBAR ===== */
.sidebar{display:grid;gap:25px}
.sidebar-box{background:#fff;border-radius:12px;padding:25px;box-shadow:0 2px 10px rgba(45,27,78,.08)}
.sidebar-box h4{font-size:16px;color:#2D1B4E;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #00D4AA}
.sidebar-box ul li{margin-bottom:10px;font-size:14px}
.sidebar-box ul li a{color:#3D2B5E}
.sidebar-box ul li a:hover{color:#00D4AA}

/* ===== FORM ===== */
.form-group{margin-bottom:20px}
.form-label{display:block;font-size:14px;color:#2D1B4E;margin-bottom:6px;font-weight:500}
.form-input{width:100%;padding:12px 15px;border:1px solid #D4CFE0;border-radius:6px;font-size:14px;transition:all .3s;background:#fff}
.form-input:focus{outline:none;border-color:#00D4AA;box-shadow:0 0 0 3px rgba(0,212,170,.1)}
textarea.form-input{resize:vertical;min-height:120px}

/* ===== PAGINATION ===== */
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px;flex-wrap:wrap}
.pagination a,.pagination span{padding:10px 16px;border-radius:6px;font-size:14px;background:#fff;border:1px solid #D4CFE0;color:#2D1B4E}
.pagination a:hover{background:#00D4AA;color:#fff;border-color:#00D4AA}
.pagination .current{background:#2D1B4E;color:#fff;border-color:#2D1B4E}

/* ===== TAGS ===== */
.tag-list{display:flex;flex-wrap:wrap;gap:10px}
.tag-item{background:#fff;padding:6px 14px;border-radius:20px;font-size:13px;border:1px solid #D4CFE0;color:#2D1B4E;transition:all .2s}
.tag-item:hover{background:#00D4AA;color:#fff;border-color:#00D4AA}

/* ===== BACK TO TOP ===== */
.back-top{position:fixed;right:30px;bottom:30px;width:44px;height:44px;background:#00D4AA;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;visibility:hidden;transition:all .3s;z-index:999;box-shadow:0 4px 12px rgba(0,212,170,.4);font-size:20px}
.back-top.visible{opacity:1;visibility:visible}
.back-top:hover{background:#2D1B4E;transform:translateY(-3px)}

/* ===== 404 ===== */
.page-404{text-align:center;padding:80px 20px}
.page-404 h1{font-size:80px;color:#00D4AA;line-height:1;margin-bottom:20px}
.page-404 h2{font-size:24px;color:#2D1B4E;margin-bottom:15px}
.page-404 p{color:#666;margin-bottom:30px}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
.container{width:95%;padding:0 10px}
.header-inner{height:auto;padding:10px 0;flex-wrap:wrap}
.nav{display:none;width:100%;background:#2D1B4E;padding:10px 0;border-radius:0 0 8px 8px}
.nav.active{display:block}
.nav-item{width:100%}
.nav-link{padding:12px 15px;border-bottom:1px solid rgba(255,255,255,.1)}
.nav-dropdown{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;padding-left:15px;display:none}
.nav-item.open .nav-dropdown{display:block}
.mobile-toggle{display:block}
.banner-slide img{height:280px}
.banner-content h2{font-size:22px}
.banner-content p{font-size:14px}
.section{padding:40px 0}
.section-title h2{font-size:22px}
.stat-number{font-size:36px}
.article-item{flex-direction:column}
.article-img{width:100%;height:200px}
.card-grid,.service-grid{grid-template-columns:1fr}
.footer-grid{grid-template-columns:1fr;gap:30px}
.article-content{padding:20px}
.article-content h1{font-size:22px}
}

@media(min-width:769px) and (max-width:1024px){
.banner-slide img{height:380px}
.card-grid{grid-template-columns:repeat(2,1fr)}
.service-grid{grid-template-columns:repeat(2,1fr)}
.stats-grid{grid-template-columns:repeat(2,1fr)}
}
