:root{--primary:#2357D6;--text:#1a1a1a;--muted:#606770;--bg:#ffffff;--bg-alt:#f6f8ff;--border:#e6e8f0;--shadow:0 6px 20px rgba(0,0,0,.06)}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,sans-serif;color:var(--text);background:var(--bg)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;padding:0;margin:0}
button{font:inherit}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 24px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--border)}
.site-header .topbar{display:flex;align-items:center;gap:20px;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:10px}
.logo img{height:40px;width:auto}
.logo .slogan{font-weight:600;color:var(--primary)}
.nav{display:flex;align-items:center;gap:14px}
.nav a{padding:8px 12px;border-radius:8px;color:#203355}
.nav a.active,.nav a:hover{background:var(--bg-alt);color:var(--primary)}
.search{display:flex;align-items:center;gap:8px}
.search input{height:36px;border:1px solid var(--border);border-radius:8px;padding:0 12px;min-width:220px}
.search button{height:36px;padding:0 12px;background:var(--primary);color:#fff;border:0;border-radius:8px;cursor:pointer}
.nav-toggle{display:none}

/* Banner */
.banner{position:relative;height:320px;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#1e3dbf, #4f7cf1)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease}
.slide.active{opacity:1}
.slide .inner{position:absolute;left:6%;top:50%;transform:translateY(-50%);max-width:560px;color:#fff}
.h1{font-size:40px;line-height:1.2;margin:0 0 10px}
.p{font-size:16px;opacity:.92;margin:0 0 18px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:all .2s ease;font-weight:600}
.btn-primary{background:#fff;color:var(--primary)}
.btn-primary:hover{transform:translateY(-1px)}
.btn-outline{background:transparent;border-color:#fff;color:#fff}
.btn-outline:hover{background:rgba(255,255,255,.12)}

/* Sections */
.section{padding:36px 0}
.section .head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}
.section .title{font-size:22px;font-weight:700;color:#203355}
.section .subtitle{color:var(--muted)}

/* Categories */
.category-bar{display:flex;flex-wrap:wrap;gap:10px}
.category{padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#203355;cursor:pointer}
.category.active,.category:hover{border-color:var(--primary);color:var(--primary);background:#eef3ff}

/* Grid & Cards */
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.card .cover{height:164px;background:#e9efff;display:block}
.card .body{padding:14px}
.card .title{font-weight:700;color:#203355;margin:0 0 8px}
.card .desc{color:#445062;opacity:.88;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px}
.card .actions{margin-top:12px}

/* Card actions with category on the left, button on the right */
.card .actions{display:flex;align-items:center;justify-content:space-between}
.cat-badge{display:inline-flex;align-items:center;height:28px;padding:0 10px;border-radius:999px;background:#eef3ff;color:var(--primary);border:1px solid var(--border);font-weight:700;font-size:12px;letter-spacing:.2px}

/* Share list */
.share-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.share-list ul li{padding:10px 12px;border:1px dashed var(--border);border-radius:10px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Pagination */
.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:18px}
.page-btn{min-width:36px;height:36px;border:1px solid var(--border);background:#fff;border-radius:10px;cursor:pointer}
.page-btn.active,.page-btn:hover{border-color:var(--primary);color:var(--primary)}


/* Pagination (new structure: .pagination > li > a) */
.pagination li{list-style:none;margin:0;padding:0}
.pagination li a{min-width:40px;height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;border-radius:10px;cursor:pointer;font-weight:600;color:inherit}
.pagination li a:hover,.pagination li a.active{border-color:var(--primary);color:var(--primary);box-shadow:0 6px 14px rgba(35,87,214,.08)}


/* Footer */
.site-footer{margin-top:40px;border-top:1px solid var(--border);background:#fff}
.site-footer .wrap{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;padding:28px 0}
.site-footer h4{margin:0 0 10px;color:#203355}
.qr{display:flex;gap:18px}
.qr .item{display:flex;flex-direction:column;gap:8px;align-items:center}
.qr img{width:112px;height:112px;border:1px solid var(--border);border-radius:8px;background:#fff}
.copy{border-top:1px solid var(--border);padding:14px 0;color:var(--muted);font-size:13px}

/* Utilities */
.muted{color:var(--muted)}
.mt-12{margin-top:12px}
.mt-18{margin-top:18px}
.mt-24{margin-top:24px}

/* Layout for course detail */
.split{display:grid;grid-template-columns:2.1fr 1fr;gap:20px}
.aside .list{display:grid;gap:12px}
.aside .mini{display:grid;grid-template-columns:88px 1fr;gap:10px;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}
.aside .mini .thumb{height:100%;background:#eef3ff}
.aside .mini .meta{padding:8px}
/* Center images inside rich content blocks */
.info-block img{margin:12px auto;max-width:100%;height:auto;display:block}
.video{width:100%;height:0;padding-bottom:56.25%;position:relative;border-radius:12px;overflow:hidden;background:#000}
.video video,.video iframe{position:absolute;inset:0;width:100%;height:100%}
/* Video cover image overlay */
.video .video-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

/* Video custom play button overlay */
.video .play-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;border:0;background:linear-gradient(180deg,#2a63ee 0%, #1f4dc0 100%);color:#fff;cursor:pointer;box-shadow:0 10px 20px rgba(35,87,214,.28);display:flex;align-items:center;justify-content:center;font-size:22px;z-index:2}
.video .play-btn:hover{transform:translate(-50%,-50%) scale(1.06)}

/* Forms (contact) */
.form{display:grid;gap:12px;max-width:640px}
.form input,.form textarea{width:100%;border:1px solid var(--border);border-radius:10px;padding:10px}
.form button{height:40px;background:var(--primary);border:0;border-radius:10px;color:#fff;cursor:pointer}

/* About & buy page blocks */
.info-block{background:#fff;border:1px solid var(--border);border-radius:12px;padding:18px;box-shadow:var(--shadow)}
/* Buy bar below video */
.buy-bar{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 14px;box-shadow:var(--shadow)}
.buy-bar .price{display:flex;align-items:center;gap:6px}
.buy-bar .price b{font-size:22px;color:#203355}
.buy-bar .btn{height:38px}

/* Table (search result grouping) */
.table{width:100%;border-collapse:separate;border-spacing:0 8px}
.table tr{background:#fff;border:1px solid var(--border)}
.table td{padding:12px 14px}

@media (max-width:1024px){.grid-3{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}

/* Enhanced UI blocks */
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.kpi{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;text-align:center}
.kpi .num{color:var(--primary);font-weight:800;font-size:28px}
.kpi .label{color:var(--muted)}

.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;display:grid;gap:8px}
.feature .icon{width:42px;height:42px;border-radius:50%;background:#eef3ff;display:flex;align-items:center;justify-content:center;color:var(--primary);font-weight:700}

.steps{display:grid;gap:12px}
.step{display:grid;grid-template-columns:auto 1fr;gap:12px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:14px}
.step .badge{width:28px;height:28px;border-radius:999px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}

.team{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.member{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px;text-align:center}
.member .avatar{width:72px;height:72px;border-radius:50%;background:#eef3ff;margin:0 auto 10px}

.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card-lite{background:#fff;border:1px solid var(--border);border-radius:12px;padding:16px}
.card-lite .icon{width:36px;height:36px;border-radius:10px;background:#eef3ff;display:flex;align-items:center;justify-content:center;color:var(--primary);font-weight:700;margin-bottom:8px}

.faq{display:grid;gap:10px}
.faq details{background:#fff;border:1px solid var(--border);border-radius:12px;padding:12px 14px}
.faq summary{cursor:pointer;font-weight:600;color:#203355}

.map{width:100%;height:220px;border-radius:12px;background:#eef3ff;border:1px solid var(--border)}

/* Pure HTML pagination sections */
.page-sec{display:none}
.page-sec.default{display:grid}
.page-sec:target{display:grid}

/* --- Professional look enhancements --- */
:root{--primary-600:#1f4dc0;--ring:#bfd0ff}

html,body{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#ffffff 0%, #fbfcff 100%)}

/* Header glass effect */
.site-header{background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(8px)}
.site-header .topbar{height:68px}
.nav a{position:relative}
.nav a.active::after{content:"";position:absolute;left:12px;right:12px;bottom:-10px;height:3px;border-radius:3px;background:var(--primary)}

/* Banner overlay and content card */
.banner{box-shadow:0 12px 30px rgba(35,87,214,.15)}
.banner::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.1) 0%, rgba(0,0,0,.25) 100%);opacity:.28;pointer-events:none}
.banner .inner{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(6px);padding:18px;border-radius:14px}
.h1{font-size:clamp(28px,3.2vw,42px)}
.p{font-size:clamp(14px,1.6vw,16px)}

/* Buttons */
.btn{transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease}
.btn:focus{outline:0;box-shadow:0 0 0 3px var(--ring)}
.btn-primary{background:linear-gradient(180deg,#ffffff 0%, #f2f6ff 100%);color:var(--primary);box-shadow:0 6px 16px rgba(35,87,214,.18)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(35,87,214,.22)}
.btn-outline{border-color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}

/* Category chips */
.category{transition:all .18s ease}
.category:hover{transform:translateY(-1px)}
.category.active{box-shadow:0 6px 14px rgba(35,87,214,.12)}

/* Cards */
.card{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(18,38,63,.08), 0 10px 10px rgba(18,38,63,.06);border-color:#dfe4f2}
.card .cover{object-fit:cover;width:100%}
.card .title{letter-spacing:.2px}

/* Pagination */
.pagination{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:38px;flex-wrap:wrap}
.page-btn{min-width:40px;height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);background:#fff;border-radius:10px;cursor:pointer;font-weight:600}
.page-btn.active,.page-btn:hover{border-color:var(--primary);color:var(--primary);box-shadow:0 6px 14px rgba(35,87,214,.08)}

/* Sections & typography */
.section .head{border-bottom:1px solid #eef0f7;padding-bottom:10px}
.section .title{letter-spacing:.3px}

/* Forms */
.form input,.form textarea{transition:border-color .18s ease, box-shadow .18s ease}
.form input:focus,.form textarea:focus{outline:0;border-color:var(--primary);box-shadow:0 0 0 3px rgba(35,87,214,.15)}

/* Aside mini cards */
.aside .mini{transition:transform .18s ease, box-shadow .18s ease}
.aside .mini:hover{transform:translateY(-2px);box-shadow:0 10px 18px rgba(18,38,63,.06)}

/* Footer distinct theme section */
.site-footer{margin-top:40px;border-top:0;background:linear-gradient(180deg,#2357D6 0%, #1f4dc0 100%);color:#fff}
.site-footer h4{color:#fff}
.site-footer .wrap{padding:32px 0}
.site-footer .muted{color:rgba(255,255,255,.85)}
.copy{border-top:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.85)}
.qr img{background:#fff;border-color:rgba(255,255,255,.4)}

/* Motion reduce */
@media (prefers-reduced-motion: reduce){
  *{transition:none!important}
}

/* Override banner height for a grander feel */
.banner{height:360px}

/* Grand banner and refined arrows */
.banner{height:380px; border-radius:18px}
.banner .arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:46px;border-radius:999px;border:0;background:linear-gradient(180deg,#2a63ee 0%, #1f4dc0 100%);display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;box-shadow:0 10px 20px rgba(35,87,214,.28);z-index:2;opacity:.94;transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease}
.banner .arrow:hover{transform:translateY(-50%) scale(1.06);box-shadow:0 14px 26px rgba(35,87,214,.34);opacity:1}
.banner .arrow.prev{left:16px}
.banner .arrow.next{right:16px}
.banner .arrow svg{width:18px;height:18px}

/* Category area with soft background */
.category-area{background:var(--bg-alt);border:1px solid var(--border);border-radius:14px;padding:14px; margin-bottom:15px;}

/* Page hero matches category area style */
.page-hero{background:var(--bg-alt);border:1px solid var(--border);border-radius:14px;padding:14px; margin-top:20px;}
.page-hero .title{font-size:22px;font-weight:700;color:#203355}
.page-hero .subtitle{color:var(--muted)}

/* Floating customer service QR bar */
.kf-float{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:50}
.kf-float .panel{width:148px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);padding:10px;display:flex;flex-direction:column;gap:8px;align-items:center}
.kf-float .panel img{width:112px;height:112px;border:1px solid var(--border);border-radius:8px;background:#fff}
.kf-float .panel .label{font-size:16px;color:var(--muted)}

/* Article list with thumbnail */
.card.article{display:grid;grid-template-columns:128px 1fr;gap:14px;align-items:center;padding:0px 12px}
.card.article .thumb{width:128px;height:80px;border-radius:10px;object-fit:cover;background:#eef3ff;border:1px solid var(--border)}
@media (max-width:1024px){.card.article{grid-template-columns:96px 1fr}.card.article .thumb{width:96px;height:64px}}

/* Center copyright */
.copy{text-align:center}
