:root {
    --matrix-primary: #3b82f6;
    --matrix-primary-rgb: 59, 130, 246;
    --matrix-radius: 12px;
}

/* Block: headers_id */
.h1-header { background: var(--matrix-light); border-bottom: 1px solid rgba(0,0,0,0.05); }
.h1-logo { max-height: 50px; }
.h1-header .nav-link { color: #334155 !important; transition: 0.3s; }
.h1-header .nav-link:hover { color: var(--matrix-primary) !important; }
.h1-btn { background: var(--matrix-primary); color: #fff; padding: 8px 25px; border-radius: var(--matrix-radius); text-decoration: none; font-weight: 700; }

/* Block: heroes_id */
.hero-s2-tag { color: var(--matrix-primary); font-weight: 800; font-size: 16px; letter-spacing: 2px; }
.text-primary-s2 { color: var(--matrix-primary); }
.btn-s2 { background: #000; color: #fff; padding: 14px 35px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.hero-s2-img-box { position: relative; padding-left: 20px; }
.hero-s2-img-box img { border-radius: 40px 0 40px 0; box-shadow: 20px 20px 60px rgba(0,0,0,0.1); }
.hero-s2-float-card { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 15px 25px; border-radius: 12px; font-weight: 700; }

/* Block: footers_id */
.f-s1-wrapper { background: #0f172a; color: #fff; }
.f-s1-title { color: var(--matrix-primary); }
.f-s1-link { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; transition: 0.3s; }
.f-s1-link:hover { color: var(--matrix-primary); padding-left: 5px; }
.f-s1-bottom { border-color: rgba(255,255,255,0.05) !important; color: rgba(255,255,255,0.4); }

/* Block: about_id */
.a7-brand-pillar { background: var(--matrix-primary); min-height: 300px; }
.a7-text-content { line-height: 2.1; font-size: 1.1rem; color: #475569; border-left: 1px solid #eee; padding-left: 30px; }
@media (max-width: 991px) { .a7-text-content { border-left: 0; padding-left: 0; } }

/* Block: stats_id */
.s-s5-accent { color: var(--matrix-primary); font-size: 2.5rem; }
.s-s5-img-container { position: relative; }
.s-s5-img-container::after { content: ''; position: absolute; top: -10px; right: -10px; width: 100px; height: 100px; border: 5px solid var(--matrix-primary); border-left: 0; border-bottom: 0; border-radius: 0 var(--matrix-radius) 0 0; z-index: -1; }

/* Block: mission_id */
.m-s6-icon { font-size: 3rem; color: var(--matrix-primary); }
@media (min-width: 768px) {
    .m-s6-border { border-left: 1px solid #f0f0f0; border-right: 1px solid #f0f0f0; }
}

/* Block: why_us_id */
.w-s3-section { background: #0f172a; }
.w-s3-accent { color: var(--matrix-primary); }
.w-s3-pill { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1) !important; }
.w-s3-img { border-radius: var(--matrix-radius); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

/* Block: departments_id */
.d-s4-circle-img { width: 380px; height: 380px; border-radius: 50%; overflow: hidden; border: 8px solid #f8fafc; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.d-s4-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.d-s4-callout { background: #f8fafc; border-left-color: var(--matrix-primary) !important; }

/* Block: security_id */
.sec-s2-img { border: 8px solid #fff; }
.sec-s2-badge { position: absolute; bottom: 30px; left: -10px; background: #dc3545; color: #fff; font-weight: 800; font-size: 12px; transform: rotate(-5deg); }
.sec-s2-check { width: 32px; height: 32px; background: var(--matrix-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* Block: judge_id */
.j-s2-card { width: 320px; background: #f8f9fa; border-radius: var(--matrix-radius); white-space: normal; transition: 0.3s; }
.j-s2-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important; transform: scale(1.02); }
.j-s2-avatar { width: 32px; height: 32px; filter: grayscale(100%); transition: 0.3s; }
.j-s2-card:hover .j-s2-avatar { filter: grayscale(0%); }
.j-s2-scroll-wrapper::-webkit-scrollbar { height: 4px; }
.j-s2-scroll-wrapper::-webkit-scrollbar-thumb { background: var(--matrix-primary); border-radius: 10px; }

/* Block: app_id */
.app-s6-bg { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: var(--matrix-light); clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%); }
.app-s6-btn { background: var(--matrix-primary); color: #fff; padding: 15px 50px; border-radius: 4px; text-decoration: none; font-weight: 900; box-shadow: 10px 10px 0 #000; }
.app-s6-img-stack { filter: drop-shadow(20px 20px 40px rgba(0,0,0,0.1)); }

/* Block: news_id */
.n-s6-box { border: 1px solid #f0f0f0; transition: 0.4s; }
.n-s6-box:hover img { transform: scale(1.05); transition: 0.6s; }

/* Block: faq_id */
.border-primary-s4 { border-color: var(--matrix-primary) !important; }
.faq-timeline-box { position: relative; }
.faq-dot { position: absolute; left: -11px; top: 5px; width: 18px; height: 18px; background: var(--matrix-primary); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 10px rgba(0,0,0,0.1); }

/* Block: update_id */
/* Style 3 - Terminal Mode */
.up-s3 .terminal-box { 
    border: 1px solid #334155 !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3) !important;
}
.up-s3 .terminal-body { 
    font-family: 'Fira Code', 'Courier New', monospace; 
    line-height: 1.8;
}
.up-s3 .text-primary { color: var(--matrix-primary) !important; }
.up-s3 .text-success { color: #10b981 !important; }
.up-s3 p { margin-bottom: 0.5rem; }

