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

/* Block: headers_id */
.h2-brand-box { background: var(--matrix-primary); width: 220px; height: 80px; clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); }
.h2-logo { max-height: 40px; filter: brightness(0) invert(1); }
.h2-link { text-decoration: none; color: #1e293b; font-size: 15px; }
.h2-link:hover { color: var(--matrix-primary); }
.h2-btn { background: #000; color: #fff; padding: 10px 30px; border-radius: 4px; text-decoration: none; font-weight: 800; }
@media (max-width: 991px) { .h2-brand-box { width: 140px; clip-path: none; } }

/* Block: heroes_id */
.hero-s7-deco { width: 40px; height: 2px; background: #000; }
.hero-s7-h1 { font-weight: 200; font-size: 3.5rem; letter-spacing: 5px; color: #000; }
.hero-s7-p { max-width: 700px; color: #64748b; font-size: 1.2rem; line-height: 2; font-weight: 300; }
.btn-s7-main { border: 1px solid #000; color: #000; padding: 15px 50px; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.btn-s7-main:hover { background: #000; color: #fff; }

/* Block: footers_id */
.f-s6-wrapper { background: #111 !important; }
.f-s6-link { color: rgba(255,255,255,0.6); text-decoration: none; transition: 0.3s; }
.f-s6-link:hover { color: var(--matrix-primary); }

/* Block: about_id */
.a3-wing { position: absolute; top: 0; left: 0; width: 45%; height: 100%; background: var(--matrix-primary); opacity: 0.05; clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); }
.a3-img-holder { border: 1px solid rgba(0,0,0,0.05); }
.a3-rich-text { font-size: 1.1rem; line-height: 1.9; }

/* 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-s7-section { border-bottom: 4px solid var(--matrix-primary); }
.m-s7-capsules span { font-weight: 800; text-transform: uppercase; letter-spacing: 2px; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.2); }
.m-s7-capsules span:last-child { border-right: none; }

/* Block: why_us_id */
.w-s2-card { border-radius: var(--matrix-radius); transition: 0.3s; border: 1px solid transparent; }
.w-s2-card:hover { transform: translateY(-5px); border-color: var(--matrix-primary); }
.w-s2-icon { font-size: 2.5rem; color: var(--matrix-primary); }

/* Block: departments_id */
.d-s3-section { background: #0f172a; }
.d-s3-box { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.1) !important; }
.d-s3-box:hover { border-color: var(--matrix-primary) !important; background: rgba(255,255,255,0.05); }
.d-s3-icon-wrap { font-size: 3rem; color: var(--matrix-primary); text-shadow: 0 0 15px var(--matrix-primary); }

/* Block: security_id */
.sec-s1-title { letter-spacing: -1px; }
.sec-s1-card { background: #fcfcfc; border: 1px solid #f0f0f0 !important; }
.sec-s1-icon { font-size: 3rem; color: var(--matrix-primary); }
.sec-s1-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; border-color: var(--matrix-primary) !important; }

/* Block: judge_id */
.j-s5-tile { width: 300px; border-radius: var(--matrix-radius); }
.j-s5-icon { color: var(--matrix-primary); opacity: 0.2; font-size: 1.5rem; }
.j-s5-img { width: 30px; height: 30px; }
.text-truncate-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Block: app_id */
.app-s4 i { color: var(--matrix-primary) !important; }
.app-s4 .btn-primary { background: var(--matrix-primary); border-color: var(--matrix-primary); }

/* Block: news_id */
.n-s7-num { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; background: #ddd; color: #fff; border-radius: 4px; }
.n-s7-num.active { background: var(--matrix-primary); }

/* Block: faq_id */
.faq-s5-wrapper .accordion-button:not(.collapsed) { background-color: var(--matrix-primary); color: #fff; }
.faq-s5-wrapper .accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.1); }
.faq-s5-wrapper .accordion-item { border-radius: var(--matrix-radius) !important; }

/* 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; }

