/* EdgeCoin - babiaedge.com | Based on IT_22_Boldo */
/* Color: Navy #0D2137, Accent #0EE6B7, Text #2D3748 */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#2D3748;line-height:1.7;background:#fff}
a{color:#0EE6B7;text-decoration:none;transition:color .2s}
a:hover{color:#0bd9a8}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{line-height:1.3;color:#0D2137}
h1{font-size:2.4rem;font-weight:800}
h2{font-size:1.9rem;font-weight:700}
h3{font-size:1.25rem;font-weight:600}
ul{list-style:none}
.container{max-width:1140px;margin:0 auto;padding:0 20px}

/* ═══ HEADER ═══ */
.site-header{background:#fff;position:sticky;top:0;z-index:100;border-bottom:1px solid #e8ecf1;height:64px;display:flex;align-items:center}
.header-inner{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1140px;margin:0 auto;padding:0 20px}
.logo{display:flex;align-items:center;gap:8px;font-size:1.25rem;font-weight:700;color:#0D2137}
.logo svg{width:32px;height:32px}
.nav-links{display:flex;align-items:center;gap:24px}
.nav-links a{color:#4A5568;font-size:.9rem;font-weight:500;transition:color .2s}
.nav-links a:hover,.nav-links a.active{color:#0D2137}
.lang-switch{position:relative}
.lang-switch summary{cursor:pointer;list-style:none;color:#4A5568;font-size:.85rem;font-weight:500;display:flex;align-items:center;gap:4px}
.lang-switch summary::-webkit-details-marker{display:none}
.lang-dropdown{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #e8ecf1;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:6px 0;min-width:100px;z-index:200}
.lang-dropdown a{display:block;padding:6px 16px;color:#4A5568;font-size:.85rem}
.lang-dropdown a:hover,.lang-dropdown a.active{background:#f0fdf9;color:#0D2137}
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px}
.mobile-toggle svg{width:24px;height:24px;color:#0D2137}

/* ═══ HERO (no banner, categories + latest) ═══ */
.hero-section{padding:48px 0 32px;background:#fff}
.hero-top{text-align:center;margin-bottom:40px}
.hero-badge{display:inline-block;background:#f0fdf9;color:#0D2137;font-size:.8rem;font-weight:600;padding:6px 16px;border-radius:20px;margin-bottom:16px;border:1px solid #d1fae5}
.hero-top h1{margin-bottom:12px;font-size:2rem}
.hero-top p{color:#64748b;max-width:600px;margin:0 auto;font-size:1rem}

/* ═══ STATS BAR ═══ */
.stats-bar{display:flex;justify-content:center;gap:48px;padding:28px 0;background:#f8fafc;border-top:1px solid #e8ecf1;border-bottom:1px solid #e8ecf1;margin-bottom:48px}
.stat-item{text-align:center}
.stat-num{font-size:1.8rem;font-weight:800;color:#0D2137}
.stat-label{font-size:.8rem;color:#64748b;margin-top:2px}

/* ═══ CATEGORIES ═══ */
.categories-section{padding:0 0 56px}
.section-badge{display:inline-block;background:#f0fdf9;color:#0D2137;font-size:.75rem;font-weight:600;padding:4px 12px;border-radius:12px;margin-bottom:10px;border:1px solid #d1fae5;text-transform:uppercase;letter-spacing:.5px}
.section-title{text-align:center;margin-bottom:36px}
.section-title h2{margin-bottom:8px}
.section-title p{color:#64748b;font-size:.95rem}
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.cat-card{background:#fff;border:1px solid #e8ecf1;border-radius:12px;padding:20px 16px;text-align:center;transition:all .25s;cursor:pointer;text-decoration:none;color:#2D3748}
.cat-card:hover{border-color:#0EE6B7;box-shadow:0 4px 16px rgba(14,230,183,.12);transform:translateY(-2px)}
.cat-card .cat-icon{width:40px;height:40px;background:#f0fdf9;border-radius:10px;display:flex;align-items:center;justify-content:center;margin:0 auto 10px}
.cat-card .cat-icon svg{width:20px;height:20px;color:#0D2137;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cat-card h3{font-size:.85rem;margin-bottom:4px}
.cat-card p{font-size:.75rem;color:#94a3b8;line-height:1.4}

/* ═══ FEATURES (Why Choose) ═══ */
.features-section{padding:56px 0;background:#f8fafc}
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:36px}
.feat-card{background:#fff;border-radius:14px;padding:32px 24px;border:1px solid #e8ecf1;transition:box-shadow .25s}
.feat-card:hover{box-shadow:0 8px 24px rgba(13,33,55,.08)}
.feat-card .feat-icon{width:48px;height:48px;background:#0D2137;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.feat-card .feat-icon svg{width:24px;height:24px;color:#0EE6B7;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.feat-card h3{margin-bottom:8px;font-size:1.1rem}
.feat-card p{color:#64748b;font-size:.9rem;line-height:1.6}

/* ═══ ABOUT (left-right layout) ═══ */
.about-section{padding:56px 0;background:#fff}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.about-text .section-badge{margin-bottom:10px}
.about-text h2{margin-bottom:16px}
.about-text p{color:#64748b;font-size:.95rem;line-height:1.7;margin-bottom:12px}
.about-check{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.about-check svg{width:20px;height:20px;color:#0EE6B7;flex-shrink:0;margin-top:2px;stroke:currentColor;fill:none;stroke-width:2.5}
.about-check span{font-size:.9rem;color:#2D3748}
.about-visual{background:#f0fdf9;border-radius:16px;padding:40px;display:flex;align-items:center;justify-content:center;min-height:280px}
.about-visual svg{width:120px;height:120px;color:#0D2137;opacity:.15}

/* ═══ LATEST POSTS ═══ */
.latest-section{padding:56px 0;background:#f8fafc}
.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:28px}
.post-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #e8ecf1;transition:all .25s}
.post-card:hover{box-shadow:0 8px 24px rgba(13,33,55,.08);transform:translateY(-2px)}
.post-card a{text-decoration:none;color:inherit}
.post-thumb{height:160px;background:#e8ecf1;overflow:hidden}
.post-thumb img{width:100%;height:100%;object-fit:cover}
.post-body{padding:18px 20px}
.post-tag{display:inline-block;background:#f0fdf9;color:#0D2137;font-size:.7rem;font-weight:600;padding:3px 10px;border-radius:10px;margin-bottom:8px;border:1px solid #d1fae5}
.post-card h3{font-size:.95rem;margin-bottom:8px;line-height:1.4;color:#0D2137}
.post-card h3:hover{color:#0EE6B7}
.post-meta{font-size:.75rem;color:#94a3b8}
.view-all-link{text-align:center;margin-top:32px}
.view-all-link a{display:inline-flex;align-items:center;gap:6px;color:#0D2137;font-weight:600;font-size:.9rem;padding:10px 24px;border:2px solid #0D2137;border-radius:8px;transition:all .2s}
.view-all-link a:hover{background:#0D2137;color:#fff}

/* ═══ FAQ ═══ */
.faq-section{padding:56px 0;background:#fff}
.faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:32px}
.faq-card{background:#f8fafc;border-radius:12px;padding:24px;border:1px solid #e8ecf1}
.faq-card h3{font-size:.9rem;color:#0D2137;margin-bottom:8px;line-height:1.4}
.faq-card p{font-size:.85rem;color:#64748b;line-height:1.6}

/* ═══ CTA BANNER ═══ */
.cta-section{padding:56px 0}
.cta-box{background:#0D2137;border-radius:20px;padding:48px;text-align:center;color:#fff}
.cta-box h2{color:#fff;margin-bottom:12px;font-size:1.6rem}
.cta-box p{color:#94a3b8;margin-bottom:24px;max-width:500px;margin-left:auto;margin-right:auto;font-size:.95rem}
.cta-box .cta-btns{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}

/* ═══ FOOTER ═══ */
.site-footer{background:#0D2137;color:#CBD5E1;padding:48px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-brand p{font-size:.85rem;line-height:1.6;margin-top:12px;color:#94a3b8}
.footer-col h4{color:#fff;font-size:.85rem;font-weight:600;margin-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a{display:block;color:#94a3b8;font-size:.85rem;margin-bottom:8px;transition:color .2s}
.footer-col a:hover{color:#0EE6B7}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:20px 0;flex-wrap:wrap;gap:12px}
.footer-bottom p{font-size:.8rem;color:#64748b}
.footer-bottom .footer-lang a{color:#94a3b8;font-size:.8rem;margin-left:8px}
.footer-bottom .footer-lang a:hover,.footer-bottom .footer-lang a.active{color:#0EE6B7}
.footer-risk{background:rgba(255,255,255,.03);padding:16px 0}
.footer-risk p{font-size:.75rem;color:#64748b;text-align:center;max-width:800px;margin:0 auto}

/* ═══ BUTTONS ═══ */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s;border:none;text-decoration:none}
.btn-primary{background:#0EE6B7;color:#0D2137}
.btn-primary:hover{background:#0bd9a8;color:#0D2137}
.btn-outline{border:2px solid #e8ecf1;color:#0D2137;background:transparent}
.btn-outline:hover{border-color:#0D2137;background:#f8fafc}
.btn-white{background:#fff;color:#0D2137}
.btn-white:hover{background:#f0fdf9}
.btn-ghost{border:2px solid rgba(255,255,255,.3);color:#fff;background:transparent}
.btn-ghost:hover{border-color:#0EE6B7;color:#0EE6B7}

/* ═══ POST PAGE ═══ */
.post-page{padding:40px 0 60px}
.post-layout{display:grid;grid-template-columns:1fr 280px;gap:36px}
.post-content{min-width:0}
.post-header{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e8ecf1}
.post-header h1{font-size:1.8rem;margin-bottom:12px}
.post-header .post-info{display:flex;align-items:center;gap:16px;color:#64748b;font-size:.85rem;flex-wrap:wrap}
.post-header .post-info .tag-link{background:#f0fdf9;color:#0D2137;padding:3px 10px;border-radius:8px;font-size:.75rem;font-weight:600;border:1px solid #d1fae5}

/* Article body */
.article-body{font-size:1rem;line-height:1.8}
.article-body h2{font-size:1.45rem;margin:32px 0 14px;padding-bottom:8px;border-bottom:2px solid #f0fdf9}
.article-body h3{font-size:1.15rem;margin:24px 0 10px}
.article-body p{margin-bottom:16px;color:#374151}
.article-body ul,.article-body ol{margin:12px 0 16px 24px}
.article-body li{margin-bottom:6px}
.article-body ul li{list-style:disc}
.article-body ol li{list-style:decimal}
.article-body a{color:#0EE6B7;border-bottom:1px solid transparent}
.article-body a:hover{border-bottom-color:#0EE6B7}
.article-body blockquote{border-left:4px solid #0EE6B7;padding:12px 20px;margin:16px 0;background:#f0fdf9;border-radius:0 8px 8px 0;color:#374151}
.article-body code{background:#f1f5f9;padding:2px 6px;border-radius:4px;font-size:.88rem;color:#0D2137}
.article-body pre{background:#0D2137;color:#e2e8f0;padding:16px 20px;border-radius:10px;overflow-x:auto;margin:16px 0}
.article-body pre code{background:transparent;color:inherit;padding:0}
.article-body img{border-radius:10px;margin:16px 0;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.article-body table{width:100%;border-collapse:collapse;margin:16px 0}
.article-body th,.article-body td{padding:10px 14px;border:1px solid #e8ecf1;text-align:left;font-size:.9rem}
.article-body th{background:#f8fafc;font-weight:600;color:#0D2137}
.article-body strong{color:#0D2137}

/* Sidebar */
.sidebar{position:sticky;top:80px;height:fit-content}
.sidebar-block{background:#f8fafc;border-radius:12px;padding:20px;margin-bottom:20px;border:1px solid #e8ecf1}
.sidebar-block h3{font-size:.9rem;color:#0D2137;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid #e8ecf1}
.sidebar-block ul li{margin-bottom:8px}
.sidebar-block ul li a{color:#4A5568;font-size:.85rem;display:flex;align-items:center;gap:8px;line-height:1.4;transition:color .2s}
.sidebar-block ul li a:hover{color:#0EE6B7}
.side-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-date{flex-shrink:0;font-size:.75rem;color:#94a3b8}
.sidebar-cat a{display:flex;justify-content:space-between;align-items:center}

/* TOC */
.toc-list{list-style:none;padding:0}
.toc-list li{margin-bottom:6px}
.toc-list li a{color:#4A5568;font-size:.82rem;padding-left:0;border-left:2px solid transparent;transition:all .2s}
.toc-list li a:hover{color:#0EE6B7;border-left-color:#0EE6B7;padding-left:8px}
.toc-list .toc-h3{padding-left:14px;font-size:.78rem}

/* ═══ TAGS/ARCHIVE PAGE ═══ */
.archive-page{padding:40px 0 60px}
.archive-header{text-align:center;margin-bottom:36px}
.archive-header h1{font-size:1.8rem;margin-bottom:8px}
.archive-header p{color:#64748b}
.tag-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:40px}
.tag-cloud a{background:#f8fafc;color:#4A5568;padding:6px 16px;border-radius:8px;font-size:.85rem;border:1px solid #e8ecf1;transition:all .2s}
.tag-cloud a:hover,.tag-cloud a.active{background:#0D2137;color:#fff;border-color:#0D2137}
.archive-list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

/* Pagination */
.pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:40px;flex-wrap:wrap}
.pagination a,.pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:8px;font-size:.85rem;font-weight:500;padding:0 10px}
.pagination a{color:#4A5568;border:1px solid #e8ecf1;transition:all .2s}
.pagination a:hover{border-color:#0D2137;color:#0D2137}
.pagination .current{background:#0D2137;color:#fff;border:1px solid #0D2137}
.pagination .dots{border:none;color:#94a3b8}
.pagination .prev,.pagination .next{font-size:.8rem;gap:4px}

/* ═══ DOWNLOAD PAGE ═══ */
.download-page{padding:40px 0 60px}
.download-header{text-align:center;margin-bottom:40px}
.download-header h1{font-size:1.8rem;margin-bottom:8px}
.download-header p{color:#64748b;max-width:600px;margin:0 auto}
.dl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:40px}
.dl-card{background:#f8fafc;border-radius:14px;padding:28px 24px;border:1px solid #e8ecf1;text-align:center}
.dl-card .dl-icon{width:56px;height:56px;background:#0D2137;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.dl-card .dl-icon svg{width:28px;height:28px;color:#0EE6B7;stroke:currentColor;fill:none;stroke-width:2}
.dl-card{display:flex;flex-direction:column;text-align:left}
.dl-card h2{font-size:1.2rem;margin-bottom:8px;text-align:center}
.dl-card .dl-icon{margin:0 auto 16px}
.dl-card p{font-size:.9rem;color:#64748b;line-height:1.6}
.dl-action{margin-top:auto;padding-top:20px;text-align:center}
.dl-action .btn{width:100%;justify-content:center}
.dl-steps{counter-reset:step;list-style:none;padding-left:0;margin-left:0}
.dl-steps li{counter-increment:step;position:relative;padding-left:36px;margin-bottom:12px;font-size:.9rem;line-height:1.6;list-style:none}
.dl-steps li::before{content:counter(step);position:absolute;left:0;width:24px;height:24px;background:#0EE6B7;color:#0D2137;border-radius:50%;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;top:2px}
.dl-warn{background:#fef3c7;border:1px solid #fcd34d;border-radius:12px;padding:20px 24px;margin:32px 0}
.dl-warn h3{color:#92400e;margin-bottom:8px;font-size:1rem}
.dl-warn p{color:#78350f;font-size:.9rem;line-height:1.6}

/* ═══ STATIC PAGES (about/disclaimer) ═══ */
.static-page{padding:40px 0 60px}
.static-page .page-content{max-width:800px;margin:0 auto}
.static-page h1{font-size:1.8rem;margin-bottom:20px;text-align:center}
.static-page h2{font-size:1.3rem;margin:28px 0 12px}
.static-page p{margin-bottom:14px;line-height:1.7;color:#374151;font-size:.95rem}
.static-page ul{margin:12px 0 16px 24px}
.static-page ul li{list-style:disc;margin-bottom:6px;font-size:.95rem;color:#374151}

/* ═══ 404 ═══ */
.not-found{text-align:center;padding:100px 20px}
.not-found h1{font-size:4rem;color:#0D2137;margin-bottom:12px}
.not-found p{color:#64748b;margin-bottom:24px;font-size:1.1rem}

/* ═══ RESPONSIVE ═══ */
@media(max-width:1024px){
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
  .post-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .about-grid{grid-template-columns:1fr}
  .about-visual{display:none}
}
@media(max-width:768px){
  h1{font-size:1.6rem}
  h2{font-size:1.4rem}
  .nav-links{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:#fff;flex-direction:column;padding:24px;gap:16px;z-index:99}
  .nav-links.open{display:flex}
  .mobile-toggle{display:block}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .feat-grid{grid-template-columns:1fr}
  .posts-grid{grid-template-columns:1fr}
  .faq-grid{grid-template-columns:1fr}
  .dl-grid{grid-template-columns:1fr}
  .stats-bar{gap:24px;flex-wrap:wrap;padding:20px}
  .stat-num{font-size:1.4rem}
  .cta-box{padding:32px 20px}
  .archive-list{grid-template-columns:1fr}
  .pagination .page-num{display:none}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .cat-grid{grid-template-columns:1fr 1fr}
  .hero-top h1{font-size:1.4rem}
}
