:root {
  --cn-primary: #1d4ed8;
  --cn-dark: #1e3a5f;
  --cn-accent: #60a5fa;
  --cn-grad-s: #1d4ed8;
  --cn-grad-e: #1e40af;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #1e293b; overflow-x: hidden; }
a { text-decoration: none; }

.cn-header { position: sticky; top: 0; z-index: 999; background: rgba(15,23,42,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.cn-header .navbar-brand, .cn-logo { display: flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; font-size: 1.1rem; }
.cn-logo img { height: 34px; width: auto; }
.cn-header .nav-link { color: rgba(255,255,255,.78); font-weight: 500; padding: .45rem .85rem; transition: color .2s; }
.cn-header .nav-link:hover { color: #fff; }
.cn-nav-cta { background: var(--cn-primary); color: #fff; border-radius: 6px; padding: .4rem .9rem; font-size: .87rem; font-weight: 600; margin-left: .5rem; transition: opacity .2s; display: inline-block; }
.cn-nav-cta:hover { opacity: .85; color: #fff; }

.cn-hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.cn-hero-bg { position: absolute; inset: 0; }
.cn-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.cn-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.72) 0%, rgba(15,23,42,.88) 100%); }
.cn-hero-content { position: relative; z-index: 2; padding: 4rem 0; }
.cn-hero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; line-height: 1.2; margin-bottom: 1.2rem; }
.cn-hero-content h1 small { display: block; font-size: .85rem; letter-spacing: 3px; text-transform: uppercase; color: var(--cn-accent); margin-bottom: .6rem; font-weight: 600; }
.cn-hero-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 680px; margin: 0 auto 1.8rem; }
.cn-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.cn-hero-badges { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.cn-hero-badges span { color: rgba(255,255,255,.72); font-size: .85rem; }

.cn-btn { display: inline-flex; align-items: center; padding: .7rem 1.6rem; border-radius: 8px; font-weight: 600; font-size: .92rem; transition: transform .2s, box-shadow .2s; }
.cn-btn:hover { transform: translateY(-2px); }
.cn-btn.filled { background: var(--cn-primary); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.cn-btn.filled:hover { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cn-btn.filled.light-bg { background: #fff; color: var(--cn-primary); }
.cn-btn.ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.cn-btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.cn-stats { padding: 5rem 0; background: #f8fafc; }
.cn-stat-item { padding: 2rem 1rem; }
.cn-stat-item i { font-size: 2rem; color: var(--cn-primary); margin-bottom: .8rem; }
.cn-stat-item h3 { font-weight: 900; font-size: 2rem; color: var(--cn-dark); margin-bottom: .2rem; }
.cn-stat-item p { color: #64748b; font-size: .9rem; margin: 0; }

.cn-section { padding: 5rem 0; }
.cn-section.alt { background: #f8fafc; }
.cn-section.dark { background: linear-gradient(135deg, var(--cn-grad-s), var(--cn-grad-e)); padding: 4rem 0; }

.cn-stitle { text-align: center; margin-bottom: 3rem; }
.cn-stitle.left { text-align: left; }
.cn-stitle h2 { font-size: 2rem; font-weight: 800; color: #1e293b; margin-bottom: .3rem; }
.cn-stitle h2 .gradient, .gradient { background: linear-gradient(135deg, var(--cn-grad-s), var(--cn-grad-e)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cn-stitle p { color: #94a3b8; font-size: .88rem; letter-spacing: 2px; text-transform: uppercase; margin: 0; }

.cn-testi-card { background: #fff; border-radius: 14px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,.04); border: 1px solid #f1f5f9; height: 100%; transition: transform .25s, box-shadow .25s; }
.cn-testi-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.cn-testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .8rem; }
.cn-testi-card p { color: #475569; font-size: .92rem; line-height: 1.7; margin-bottom: 1rem; }
.cn-testi-author strong { display: block; color: #1e293b; font-size: .9rem; }
.cn-testi-author span { color: #94a3b8; font-size: .8rem; }

.cn-adv-card { background: #fff; border-radius: 14px; padding: 2.2rem 1.6rem; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.03); border: 1px solid #f1f5f9; height: 100%; transition: transform .25s, box-shadow .25s; }
.cn-adv-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.cn-adv-icon { width: 60px; height: 60px; border-radius: 14px; background: linear-gradient(135deg, var(--cn-grad-s), var(--cn-grad-e)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.cn-adv-icon i { color: #fff; font-size: 1.4rem; }
.cn-adv-card h4 { font-weight: 700; font-size: 1rem; margin-bottom: .6rem; color: #1e293b; }
.cn-adv-card p { color: #64748b; font-size: .85rem; line-height: 1.6; margin: 0; }

.cn-topic-card { display: block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; color: #fff; transition: background .25s, transform .25s; height: 100%; }
.cn-topic-card:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); color: #fff; }
.cn-topic-card i { font-size: 1.8rem; color: var(--cn-accent); margin-bottom: .8rem; display: block; }
.cn-topic-card h4 { font-weight: 700; margin-bottom: .8rem; }
.cn-topic-more { font-size: .82rem; opacity: .7; }

.cn-about-text { color: #475569; line-height: 1.8; margin-bottom: 1rem; }
.cn-about-features div { color: #334155; font-size: .92rem; margin-bottom: .5rem; }
.cn-about-features i { color: var(--cn-primary); margin-right: .5rem; }
.cn-about-img { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.cn-about-img img { width: 100%; height: auto; display: block; }

.cn-mission { background: linear-gradient(135deg, var(--cn-grad-s), var(--cn-grad-e)); padding: 5rem 0; }
.cn-mission-text { color: rgba(255,255,255,.85); max-width: 680px; margin: 0 auto 2rem; line-height: 1.8; font-size: 1rem; }

.cn-news-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.04); border: 1px solid #f1f5f9; height: 100%; transition: transform .25s, box-shadow .25s; }
.cn-news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.cn-news-card-img { position: relative; display: block; height: 200px; overflow: hidden; }
.cn-news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cn-news-card:hover .cn-news-card-img img { transform: scale(1.06); }
.cn-news-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.cn-news-tag { position: absolute; top: 12px; left: 12px; background: var(--cn-primary); color: #fff; font-size: .7rem; padding: .2rem .6rem; border-radius: 4px; font-weight: 600; z-index: 2; }
.cn-news-card-body { padding: 1.3rem 1.4rem; }
.cn-news-card-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; line-height: 1.4; }
.cn-news-card-body h4 a { color: #1e293b; transition: color .2s; }
.cn-news-card-body h4 a:hover { color: var(--cn-primary); }
.cn-news-card-body p { color: #64748b; font-size: .83rem; line-height: 1.6; margin-bottom: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-news-card-meta { display: flex; gap: 1rem; font-size: .78rem; color: #94a3b8; }

.cn-breadcrumb { background: #f8fafc; padding: .8rem 0; font-size: .87rem; color: #64748b; }
.cn-breadcrumb a { color: var(--cn-primary); }

.cn-section .pagination { justify-content: center; }
.cn-section .page-link { color: var(--cn-primary); border-color: #e2e8f0; }
.cn-section .page-item.active .page-link { background: var(--cn-primary); border-color: var(--cn-primary); color: #fff; }

.cn-tag-pill { display: inline-block; padding: .35rem .8rem; margin: .25rem; border-radius: 20px; font-size: .82rem; background: #f1f5f9; color: #475569; transition: background .2s, color .2s; }
.cn-tag-pill:hover { background: var(--cn-primary); color: #fff; }

.cn-article { background: #fff; border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,.04); }
.cn-article h1 { font-size: 1.8rem; font-weight: 800; color: #1e293b; margin-bottom: 1rem; }
.cn-article-meta { color: #94a3b8; font-size: .88rem; margin-bottom: 1.5rem; }
.cn-article-img { border-radius: 12px; overflow: hidden; margin-bottom: 2rem; }
.cn-article-img img { width: 100%; height: auto; display: block; }
.cn-article-content { color: #334155; line-height: 1.9; font-size: 1rem; }
.cn-article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

.cn-footer { background: #0f172a; color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; }
.cn-footer h5 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.cn-footer ul { list-style: none; padding: 0; margin: 0; }
.cn-footer ul li { margin-bottom: .5rem; }
.cn-footer ul a { color: rgba(255,255,255,.6); font-size: .87rem; transition: color .2s; }
.cn-footer ul a:hover { color: var(--cn-accent); }
.cn-footer-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.cn-footer-contact { font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: .3rem; }
.cn-footer-note { font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.cn-copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: .82rem; color: rgba(255,255,255,.4); }

.cn-totop { position: fixed; bottom: 2rem; right: 2rem; width: 42px; height: 42px; border-radius: 10px; background: var(--cn-primary); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 999; }
.cn-totop.show { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .cn-hero { min-height: 70vh; }
  .cn-hero-content h1 { font-size: 1.6rem; }
  .cn-section { padding: 3rem 0; }
  .cn-stats { padding: 3rem 0; }
  .cn-article { padding: 1.5rem; }
  .cn-stitle h2 { font-size: 1.5rem; }
}
