/**
 * DARK FACE PROJECT
 * Version: 1.0
 * Release Date: 2026-01-02
 * STATUS: STABLE / PRODUCTION
 */
:root {
    --bg-color: #000000;
    --primary: #ff002e; /* The CRACKEN Red */
    --primary-dim: rgba(255, 0, 46, 0.3);
    --text-main: #e3e3e3;
    --text-muted: #666666;
    --font-display: 'Chakra Petch', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --grid-color: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair; /* Hacker cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-display);
    overflow-x: hidden;
    line-height: 1.4;
}

canvas#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6; /* Slight fade to let content pop */
}

/* Overlays */

.vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 50%, black 100%);
    z-index: 800;
    pointer-events: none;
}

    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 9%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Typography Helpers */
h1, h2, h3 {  text-transform: uppercase; font-weight: 700; letter-spacing: -1px; }
.dot { color: var(--primary); }

/* HUD */
.hud-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 950;
    pointer-events: none;
    padding: 30px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hud-top-left, .hud-top-right, .hud-bottom-left, .hud-bottom-right {
    position: fixed;
    z-index: 1000;
}
.hud-top-left { top: 30px; left: 40px; }
.hud-top-right { top: 30px; right: 40px; text-align: right; }
.hud-bottom-left { bottom: 30px; left: 40px; }
.hud-bottom-right { bottom: 30px; right: 40px; }

.blink-red { color: var(--primary); animation: blink 1s infinite; }

@keyframes blink { 50% { opacity: 0; } }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(2px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    position: relative;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.contact-btn {
    color: var(--primary);
}

.contact-btn {
    border: 1px solid var(--primary-dim);
    padding: 8px 16px;
}

.contact-btn:hover {
    background: var(--primary);
    color: #000 !important;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; border-radius: 2px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 20px;
    position: relative;
    color: #fff;
    mix-blend-mode: difference;
}

.hero-subtitle {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-block;
    padding: 20px 40px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--font-mono);
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: 0.3s;
}

.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
}

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    bottom: 50px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--primary);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform-origin: top; transform: scaleY(0); }
    50% { transform-origin: top; transform: scaleY(1); }
    51% { transform-origin: bottom; transform: scaleY(1); }
    100% { transform-origin: bottom; transform: scaleY(0); }
}

/* Services */
.services {
    padding: 150px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px; /* Brutalist tight gap */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.service-item {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #1a1a1a;
    padding: 50px;
    transition: 0.4s;
    position: relative;
}

.service-item:hover {
    border-color: var(--primary);
    background: rgba(20, 0, 5, 0.9);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.service-list {
    margin-top: 30px;
    list-style: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-list li {
    margin-bottom: 10px;
}

/* Marquee */
.clients-marquee {
    background: var(--primary);
    color: #000;
    padding: 20px 0;
    
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.2rem;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Clients Detail */
.clients {
    padding: 100px 0;
    background: #050505;
}

.clients-container {
    max-width: 1000px;
    margin: 0 auto;
}

.client-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #222;
    transition: 0.3s;
}

.client-row:hover {
    padding-left: 20px;
    border-color: var(--primary);
    background: rgba(255, 0, 46, 0.05);
}

.client-row .idx {
    font-family: var(--font-mono);
    color: var(--primary);
    margin-right: 20px;
}

.client-row .name {
    font-size: 1.5rem;
    font-weight: 600;
    flex-grow: 1;
}

.client-row .status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid #333;
    padding: 5px 10px;
}

/* Academy */
.academy {
    padding: 150px 0;
    display: flex;
    justify-content: center; border-radius: 2px;
}

.academy-layout {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    padding: 0 40px;
    align-items: center;
}

.academy-text {
    flex: 1;
}

.academy-text .lead {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.modules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 40px 0;
}

.module {
    background: #111;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    border-left: 2px solid #333;
    transition: 0.3s;
}

.module:hover {
    border-left-color: var(--primary);
    background: #1a1a1a;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

.academy-visual {
    flex: 1;
    height: 400px;
    background: radial-gradient(circle, #1a1a1a 10%, transparent 70%);
    border: 1px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
}

.geo-shape {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary);
    animation: rotate 10s linear infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }

/* Stats */
.stats-grid {
    display: flex;
    justify-content: space-around;
    padding: 100px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    margin: 50px 0;
}

.stat {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 80px 40px 20px;
    background: #000;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-brand p {
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.footer-contact a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    margin-bottom: 10px;
    text-align: right;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bar {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #444;
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .services-grid { padding: 0 20px; }
    .academy-layout { flex-direction: column; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .navbar { padding: 20px; }
    .nav-links { display: none; } /* Need to add hamburger back if mobile is priority, keeping simple for high-end desktop focus initially */
}

/* Secure Access Section */
.secure-access {
    padding: 80px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.access-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 40px;
}

.access-card {
    background: linear-gradient(135deg, rgba(20,20,20,0.9), rgba(5,5,5,1));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    position: relative;
    
}

.tor-card {
    border-top: 2px solid var(--primary);
}

.pgp-card {
    border-top: 2px solid #fff;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.card-header i {
    font-size: 1.2rem;
}

.code-display {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    color: #fff;
}

.code-display.large-code {
    justify-content: center; border-radius: 2px;
    text-align: center;
    color: var(--primary);
    letter-spacing: 2px;
}

.code-display code {
    word-break: break-all;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn-icon {
    background: #222;
    border: 1px solid #444;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.card-footer {
    margin-top: 15px;
    text-align: right;
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

.card-footer.center {
    text-align: center;
}

.card-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.card-footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .code-display { flex-direction: column; gap: 20px; text-align: center; }
}

/* Community Section Alignment Fix */
.community-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px; /* Space between stats and button */
}

/* Ensure Secure Access is Centered */
.access-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 40px;
    align-items: center; /* Centers the cards if they have width */
}

.access-card {
    width: 100%; /* Ensure full width of container */
    max-width: 800px; /* Cap width for aesthetics */
}

/* Fix stats grid specifically */
.stats-grid {
    width: 100% !important;
    max-width: 1200px !important;
    justify-content: space-evenly !important;
    gap: 40px !important;
}

.stat {
    min-width: 200px;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-img {
    height: 60px; /* Adjust size as needed */
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 0, 46, 0.5));
}

/* CSS LOGO: The Perpetual Eye */
.perpetual-eye {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
}

.pupil {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulseEye 2s infinite;
}

.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 0, 46, 0.3);
    border-radius: 30%;
    border-top-color: var(--primary);
    border-bottom-color: transparent;
    animation: rotateOrbit 3s linear infinite;
}

.logo:hover .orbit {
    animation-duration: 0.5s;
    border-color: #fff;
}

@keyframes pulseEye {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 20px var(--primary); }
    100% { transform: scale(0.8); opacity: 0.7; }
}

@keyframes rotateOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 3D Cyber Cube Animation */
.scene-3d {
    perspective: 1000px;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
}

.cyber-cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 10s infinite linear;
}

.face {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border: 1px solid var(--primary);
    background: rgba(255, 0, 46, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 46, 0.2) inset;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
}

/* Face Content / Tech Markings */
.face::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 60%;
    height: 60%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.front  { transform: rotateY(0deg) translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.right  { transform: rotateY(90deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.top    { transform: rotateX(90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

.nucleus {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    transform: translateZ(0);
    box-shadow: 0 0 30px var(--primary);
    border-radius: 50%;
    top: 30px;
    left: 30px;
    animation: pulseNucleus 2s infinite ease-in-out;
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes pulseNucleus {
    0%, 100% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.academy-visual {
    /* Override previous styles if needed, keep flex centering */
    border: none !important;
    background: none !important;
}

/* Academy Face Image */
.academy-face-img {
    width: 100%;
    max-width: 400px; /* Adjust size to fit nicely */
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 0, 46, 0.3)); /* Subtle red glow */
    animation: floatFace 4s ease-in-out infinite;
}

@keyframes floatFace {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Obsidian Cube Update */
.face {
    /* Solid glossy black (Obsidian) */
    background: rgba(5, 5, 5, 0.85) !important; 
    border: 1px solid var(--primary) !important;
    box-shadow: 0 0 20px rgba(255, 0, 46, 0.1) !important; /* Constant glow, no pulse */
    /* Glass/Gloss effect */
    backdrop-filter: blur(2px);
}

/* Remove internal dashed lines if they are distracting or keep them subtle */
.face::before {
    opacity: 0.3;
    border-color: rgba(255, 0, 46, 0.5) !important;
}

/* Ensure no pulsing on the nucleus either, just steady glow */
.nucleus {
    animation: none !important; /* Stop blinking */
    box-shadow: 0 0 40px var(--primary) !important;
    opacity: 1 !important;
}

/* Keep rotation smooth */
.cyber-cube {
    animation: rotateCube 15s infinite linear !important; /* Slower, smoother */
}

/* Make Secure Access Section Compact */
.secure-access {
    padding: 40px 0; /* Reduced top/bottom padding */
}

.access-container {
    gap: 15px; /* Reduced gap between cards */
}

.access-card {
    max-width: 600px; /* Reduced width */
    padding: 20px; /* Reduced internal padding */
    margin: 0 auto; /* Enhance centering assurance */
}

.card-header {
    margin-bottom: 15px; /* Tighter header */
}

.code-display {
    padding: 15px; /* Tighter code box */
    font-size: 0.85rem; /* Slightly smaller text */
}

.card-footer {
    margin-top: 10px;
}

/* Widen Secure Access Cards to fit content in one line */
.access-card {
    max-width: 900px !important; /* Increased width */
}

.code-display {
    white-space: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Scroll if absolutely necessary on tiny screens */
}

.card-header span {
    white-space: nowrap;
}

/* Refined Dark Aesthetics for Secure Cards */
.access-card {
    background: #000 !important; /* Pure black like the rest of the site */
    border: 1px solid #222 !important; /* Dark subtle border */
    border-left: 2px solid var(--primary) !important; /* Aggressive accented left border */
    border-radius: 0 !important; /* Brutalist sharp corners */
    box-shadow: none !important;
}

.tor-card { border-top: 1px solid #222 !important; } /* Remove previous specific top borders */
.pgp-card { border-top: 1px solid #222 !important; }

.code-display {
    background: #080808 !important; /* Almost black */
    border: 1px solid #222 !important; border-left: 2px solid var(--primary) !important;
    color: var(--primary) !important; /* Red text for code */
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: 1px;
}

.card-header {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-icon {
    border-radius: 0 !important; /* Square buttons */
    border: 1px solid #333 !important;
}

.btn-icon:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Polish for Step 268 feedback */

/* Add spacing between Community button and Secure Access */
.community {
    padding-bottom: 120px; /* Give it air */
}

/* Add a section title for Secure Access */

/* Ensure the cards have enough bottom margin if they stack */
.access-card {
    margin-bottom: 0px; 
}

/* Strategic Alliances / Partners */
.section-label {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.partner-card {
    display: flex;
    align-items: center;
    background: #080808;
    border: 1px solid #222;
    padding: 30px;
    margin-bottom: 1px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    
}

.partner-card:hover {
    background: #0a0a0a;
    border-color: var(--primary);
    transform: translateX(10px);
}

.partner-card:hover .partner-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.partner-card:hover .partner-arrow {
    opacity: 1;
    transform: translateX(0);
}

.partner-icon {
    font-size: 2rem;
    color: #444;
    width: 80px;
    display: flex;
    justify-content: center; border-radius: 2px;
    transition: 0.3s;
}

.partner-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.partner-desc {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.partner-arrow {
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Update marquee text to standard white for contrast */
.clients-marquee {
    color: white !important; 
    border-bottom: 1px solid #fff;
    font-family: var(--font-display) !important;
    text-transform: uppercase;
    font-weight: 800 !important;
    letter-spacing: 2px;
}

.marquee-content {
    /* make it scroll slower too if needed */
    animation-duration: 30s !important; 
}

/* Structural Fixes */
.container-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label-center {
    font-family: var(--font-mono);
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 1. Clients / Tiers Section */
.clients-tier {
    padding: 100px 0 50px;
    background: #030303;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tier-card {
    background: #080808;
    border: 1px solid #1a1a1a;
    padding: 40px;
    transition: 0.3s;
}

.tier-card:hover {
    border-color: #333;
    transform: translateY(-5px);
}

.tier-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.tier-num {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.9rem;
}

.tier-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.tier-body p {
    font-family: var(--font-mono);
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.status-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 5px 10px;
    border: 1px solid #333;
    text-transform: uppercase;
}

.status-badge.auth { color: #0f0; border-color: #0f0; }
.status-badge.class { color: #f00; border-color: #f00; }
.status-badge.sec { color: #fc0; border-color: #fc0; }

/* 2. Partners Section */
.partners-section {
    padding: 50px 0 100px;
    background: #030303;
}

.partners-grid {
    display: flex;
    justify-content: center; border-radius: 2px;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-tile {
    width: 200px;
    height: 180px;
    background: #050505;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    justify-content: center; border-radius: 2px;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: 0.4s;
    position: relative;
}

.partner-tile:hover {
    background: #000;
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(255, 0, 46, 0.1);
}

.tile-icon {
    font-size: 3rem;
    color: #444;
    transition: 0.4s;
}

.partner-tile:hover .tile-icon {
    color: #fff;
    transform: scale(1.1);
}

.tile-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.4s;
}

.partner-tile:hover .tile-name {
    color: var(--primary);
}

/* Clients Tier Redesign - High Tech/Brutalist */
.tier-card {
    background: linear-gradient(145deg, #050505, #0a0a0a) !important;
    border: 1px solid #222 !important;
    position: relative;
    padding: 30px !important;
    
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: all 0.4s ease;
}

.tier-card::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #333;
    transition: 0.4s;
}

.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: #333 !important;
}

.tier-card:hover::before {
    background: var(--primary);
}

.tier-header h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.tier-num {
    color: #333 !important;
    font-weight: 900;
    font-size: 3rem !important;
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 10px;
    right: 20px;
    opacity: 0.2;
    transition: 0.4s;
    font-family: var(--font-display);
}

.tier-card:hover .tier-num {
    color: var(--primary) !important;
    opacity: 0.1;
}

.status-badge {
    border-radius: 0 !important;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    margin-top: 15px;
}

/* Partners Tile Redesign */
.partners-grid {
    gap: 20px !important;
}

.partner-tile {
    border: 1px solid #1a1a1a !important;
    background: linear-gradient(to bottom, #080808, #030303) !important;
    transition: 0.4s;
    width: 250px !important; /* Slightly wider */
}

.partner-tile:hover {
    border-color: var(--primary) !important;
    background: #000 !important;
    box-shadow: 0 0 20px rgba(255, 0, 46, 0.15) !important;
}

.tile-icon {
    opacity: 0.7;
}

.partner-tile:hover .tile-icon {
    opacity: 1;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-dim);
}

.tile-name {
    color: #888 !important;
    font-size: 0.8rem !important;
}

.partner-tile:hover .tile-name {
    color: #fff !important;
}

/* Unified Design Language: Services */
/* Applying the same 'Tier Card' aesthetic to Services */

.service-item {
    background: linear-gradient(145deg, #050505, #0a0a0a) !important;
    border: 1px solid #222 !important;
    padding: 40px !important;
    position: relative;
    
    /* The clipped corner effect */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: all 0.4s ease;
}

/* Remove the old highlight border class as we are unifying hover effects */
.service-item.highlight-border {
    border-color: #222; 
}

/* New Hover Effect (Same as Tiers) */
.service-item::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #333;
    transition: 0.4s;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: #333 !important;
    background: linear-gradient(145deg, #080808, #111) !important;
}

.service-item:hover::before {
    background: var(--primary);
}

.service-icon {
    color: #444 !important; /* Darker by default */
    transition: 0.4s;
    font-size: 2rem !important; /* Slightly smaller, more precise */
    margin-bottom: 25px !important;
}

.service-item:hover .service-icon {
    color: var(--primary) !important;
    text-shadow: 0 0 15px var(--primary-dim);
}

.service-item h3 {
    font-size: 1.4rem !important;
    margin-bottom: 15px !important;
}

.service-list li {
    font-size: 0.8rem !important;
    color: #555 !important;
}

.service-item:hover .service-list li {
    color: #888 !important;
}

/* Increase gap in services grid to match tiers */
.services-grid {
    gap: 30px !important; 
    padding: 0 40px !important;
}

/* Partner Tiles Visual Update - Matching Tiers */
.partner-tile {
    /* Use the same gradient and border as tiers */
    background: linear-gradient(145deg, #050505, #0a0a0a) !important;
    border: 1px solid #222 !important;
    /* Add the clip-path for that tech look */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%) !important;
    
    position: relative;
}

/* Add the side accent line on hover */
.partner-tile::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #333;
    transition: 0.4s;
    opacity: 0; /* Hidden by default for partners, shown on hover */
}

.partner-tile:hover::before {
    opacity: 1;
    background: var(--primary);
}

.partner-tile:hover {
    transform: translateY(-5px);
    border-color: #333 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.tile-icon {
    font-size: 2.5rem !important; /* Slightly larger */
    margin-bottom: 5px;
}

/* FINAL VISUAL UNIFICATION: PARTNERS = SERVICES */

/* Force Partners Grid to be identical to Services/Tiers Grid */
.partners-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important; /* Same as others */
    gap: 30px !important;
    justify-content: normal !important; /* Reset center alignment */
}

/* Make Partner Tile identical to Service/Tier Card */
.partner-tile {
    width: auto !important; /* Allow growth */
    height: auto !important;
    min-height: 250px; /* Match height roughy */
    background: linear-gradient(145deg, #050505, #0a0a0a) !important;
    border: 1px solid #222 !important;
    padding: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Align LEFT */
    justify-content: flex-start !important;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%) !important;
    text-decoration: none;
    position: relative;
    transition: all 0.4s ease;
}

/* Hover effects identical to others warning: previous generic hover might conflict so we enforce */
.partner-tile:hover {
    transform: translateY(-5px);
    border-color: #333 !important;
    background: linear-gradient(145deg, #080808, #111) !important;
    box-shadow: none !important; /* Reset the glow to standard */
}

.partner-tile::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #333;
    transition: 0.4s;
    opacity: 1 !important; /* Always show the bar holder */
}

.partner-tile:hover::before {
    background: var(--primary);
}

/* Interior Styling */
.tile-icon {
    font-size: 2rem !important;
    color: #444 !important;
    margin-bottom: 20px !important;
    opacity: 1 !important;
}

.partner-tile:hover .tile-icon {
    color: var(--primary) !important;
    text-shadow: 0 0 15px var(--primary-dim);
}

.tile-name {
    font-size: 1.4rem !important; /* Match Service H3 */
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    margin-bottom: 10px;
    letter-spacing: 0px !important;
}

/* Add descriptive text if it exists or pseudo element */
.tile-name::after {
    content: ' // EXTERNAL_LINK';
    font-size: 0.7rem;
    color: #444;
    font-family: var(--font-mono);
    display: block;
    margin-top: 5px;
}

/* ABSOLUTE STANDARDIZATION */
/* Making Tiers (Clients) and Partners IDENTICAL to Services */

.tier-card, .partner-tile {
    /* Reset flex/grid specific quirks */
    width: auto !important;
    height: 100% !important; /* Stretch to fill grid */
    min-height: 350px !important; /* Match the visual height of service cards */
    
    /* Copy exact styling from .service-item */
    background: linear-gradient(145deg, #050505, #0a0a0a) !important;
    border: 1px solid #222 !important;
    padding: 40px !important;
    
    /* Layout content exactly like services (Vertical stack, left aligned) */
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    
    /* The clip path */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%) !important;
}

/* Headers */
.tier-header, .partner-info {
    border: none !important; /* Remove separators to match service clean look */
    margin-bottom: 20px !important;
    padding: 0 !important;
    display: block !important; /* Stack vertically if needed */
}

/* Titles */
.tier-header h3, .tile-name {
    font-family: var(--font-display) !important;
    font-size: 1.4rem !important; /* Exact match to Service H3 */
    color: #fff !important;
    font-weight: 700 !important;
    margin: 15px 0 !important;
    text-transform: uppercase !important;
}

/* Icons / Numbers */
.tier-num {
    position: static !important; /* No longer absolute top-right */
    font-size: 2rem !important; /* Match icon size roughly */
    color: #444 !important;
    opacity: 1 !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.tile-icon {
    font-size: 2rem !important;
    color: #444 !important;
    margin-bottom: 20px !important;
    display: block !important;
}

/* Body Text / Description */
.tier-body p, .tile-name::after {
    font-family: var(--font-mono) !important;
    font-size: 0.8rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-transform: none !important;
}

/* Use description content for partners if possible, or keep the link style */
.tile-name::after {
    content: 'Strategic Alliance // Authorized Partner';
    display: block;
    margin-top: 10px;
}

/* Badges / Lists lookalike */
.status-badge { margin-top: 20px !important; background: transparent !important; border: none !important; padding-top: 5px !important; color: #888 !important; font-family: var(--font-mono) !important; font-size: 0.8rem !important; }

.status-badge::before {
    content: '> ';
    color: var(--primary);
}

/* =========================================
   GLOBAL SYSTEM OVERHAUL v2.0
   Unified Aesthetics + Unique Section Logic
   ========================================= */

/* 1. Global Layout & Typography */
.container-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

section {
    padding: 120px 0;
    position: relative;
     /* Keep effects contained */
}

/* 2. Unified Section Headers */
.sys-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.sys-header h2 { font-size: clamp(1.8rem, 4vw, 3rem); color: #fff; margin: 0; line-height: 1.1; word-break: break-word; }

.sys-header .deco-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.5;
}

/* 3. Global Card System (The "Dark Face" Standard) */
/* This replaces specific tier/service/partner styles with one robust class */
.df-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle default */
    padding: 40px;
    position: relative;
    clip-path: polygon(
        20px 0, 100% 0, 
        100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px
    );
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.df-card:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    z-index: 10;
}

.df-card .icon-box {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    transition: 0.5s;
}

.df-card:hover .icon-box {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
}

.df-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.df-card p {
    font-family: var(--font-mono);
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 4. Unique Section Customizations */

/* A. Academy: Data Terminal Style */
.academy-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.academy-terminal {
    background: #050505;
    border: 1px solid #333;
    padding: 5px;
}

.terminal-header {
    background: #222;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #aaa;
    display: flex;
    justify-content: space-between;
}

.terminal-body {
    padding: 30px;
}

.module-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #333;
    font-family: var(--font-mono);
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}

.module-item:hover {
    color: var(--primary);
    padding-left: 10px;
    border-bottom-color: var(--primary);
}

/* B. Community: Network Grid */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: #222; /* Creates lines via gap */
    border: 1px solid #333;
}

.net-node {
    background: #000;
    padding: 40px;
    text-align: center;
    position: relative;
}

.net-val {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.net-label {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* Animation Classes (JS will trigger) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Styling for Partners */
.partner-logo {
    max-width: 180px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: 0.4s;
    filter: grayscale(100%) brightness(200%); /* Make them cleaner/white initially */
}

.partner-tile:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0%) brightness(100%); /* Return to original or color on hover */
}

/* Holographic Mask Styling */
.academy-visual {
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
    perspective: 1000px;
}

.holo-container {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    animation: holoFloat 6s ease-in-out infinite;
}

.holo-mask {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 0, 46, 0.5));
    animation: maskPulse 4s infinite alternate;
}

/* Glitch overlay effect for the mask */
.holo-glitch {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/mask_hologram.png') no-repeat center center / contain;
    opacity: 0.5;
    mix-blend-mode: color-dodge;
    transform: translate(5px, 0);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.holo-glitch:nth-child(2) {
    transform: translate(-5px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
    opacity: 0.3;
}

@keyframes holoFloat {
    0%, 100% { transform: translateY(0) rotateY(-5deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

@keyframes maskPulse {
    0% { filter: drop-shadow(0 0 15px rgba(255, 0, 46, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(255, 0, 46, 0.8)); }
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(0% 0 90% 0); }
}

/* 3D Volumetric Mask System */
.holo-spinner {
    position: relative;
    width: 300px;
    height: 300px;
    perspective: 1000px;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
}

.mask-core {
    position: relative;
    width: 200px;
    height: 250px;
    transform-style: preserve-3d;
    animation: coreSpin 10s linear infinite;
}

.mask-layer {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: visible; /* Show from behind */
    filter: drop-shadow(0 0 10px rgba(255, 0, 46, 0.5));
}

/* Layering for Volumetric Effect */
.l1 { transform: translateZ(20px); opacity: 0.8; }
.l2 { transform: translateZ(10px); opacity: 0.6; }
.l3 { transform: translateZ(-10px); opacity: 0.6; }
.l4 { transform: translateZ(-20px); opacity: 0.8; }

/* Invert standard back layers to ensure visibility logic if needed, 
   but for PNGs with transparency, stacking is enough for 'ghost' volume.
*/

/* Orbital Rings */
.orbit-ring {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 320px;
    height: 320px;
    border-color: rgba(255, 0, 46, 0.3);
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spinRing 8s linear infinite reverse;
}

.ring-2 {
    width: 280px;
    height: 280px;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    animation: spinRing 12s linear infinite;
}

@keyframes coreSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes spinRing {
    0% { transform: translate(-50%, -50%) rotate(0deg) rotateX(45deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) rotateX(45deg); }
}

/* PURE MINIMAL CROSSHAIR ONLY */

body {
    cursor: none;
}

.cursor-dot {
    width: 2px;
    height: 2px;
    background: #fff;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px var(--primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: none; /* No shapes */
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* Horizontal line */
.cursor-outline::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 0, 46, 0.5);
    transform: translateY(-50%);
}

/* Vertical line */
.cursor-outline::after {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 0, 46, 0.5);
    transform: translateX(-50%);
}

/* Interaction: Crosshair tightens on hover */
.cursor-locked {
    width: 20px !important;
    height: 20px !important;
}

.cursor-locked::before, .cursor-locked::after {
    background: #fff !important;
}

/* Hide legacy elements */
.cursor-hud-layer, .cursor-text {
    display: none !important;
}
/* STABLE RED CLASSIC CROSSHAIR */

body {
    cursor: none;
}

.cursor-dot {
    width: 2px;
    height: 2px;
    background: #ff002e;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px #ff002e;
}

.cursor-outline {
    width: 24px;
    height: 24px;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
}

/* Perfect Crosshair Lines */
.cursor-outline::before {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: #ff002e;
    /* Gap in the middle using linear gradient */
    background: linear-gradient(90deg, #ff002e 35%, transparent 35%, transparent 65%, #ff002e 65%);
}

.cursor-outline::after {
    content: '';
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    height: 100%;
    width: 1px;
    background: #ff002e;
    /* Gap in the middle using linear gradient */
    background: linear-gradient(180deg, #ff002e 35%, transparent 35%, transparent 65%, #ff002e 65%);
}

/* UI Feedback */
.cursor-locked {
    transform: translate(-50%, -50%) rotate(45deg);
    width: 18px !important;
    height: 18px !important;
}

.cursor-locked::before, .cursor-locked::after {
    background: #fff; /* White cross on lock-on */
}

/* NAVBAR STYLE RECOVERY */
.nav-controls {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.lang-switcher {
    display: flex !important;
    gap: 4px !important;
}

.lang-btn {
    background: transparent !important;
    border: 1px solid #333 !important;
    color: #666 !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.7rem !important;
    font-family: var(--font-mono) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: 0.3s !important;
}

.lang-btn.active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #000 !important;
}

.contact-btn {
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    text-decoration: none !important;
    font-family: var(--font-mono) !important;
}

.contact-btn:hover {
    background: var(--primary) !important;
    color: #000 !important;
}

/* Communications Section Styling */
.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.id-display {
    background: rgba(255, 0, 46, 0.05);
    border: 1px dashed rgba(255, 0, 46, 0.2);
    padding: 10px;
    margin: 20px 0;
    text-align: center;
}

.id-display code {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.btn-primary.mini {
    padding: 10px 20px;
    font-size: 0.8rem;
    width: 100%;
    margin-top: 10px;
}

/* Footer Tweak */
footer {
    border-top: 1px solid rgba(255, 0, 46, 0.1);
    background: #050505;
}
/* Logo Image Fix */
.logo-img {
    height: 35px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 46, 0.6));
}
/* IMPROVED FOOTER */
#footer {
    padding-bottom: 80px;
    padding: 60px 0 100px;
    background: #000;
    border-top: 1px solid rgba(255, 0, 46, 0.2);
    position: relative;
    
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255, 0, 46, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.footer-accent {
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin: 0;
    color: #fff;
}

.footer-brand .dot {
    color: var(--primary);
}

.footer-brand .slogan {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5px 0 0 0;
    transition: color 0.3s;
}

.glitch-hover:hover {
    color: var(--primary);
    animation: glitchText 0.3s;
}

@keyframes glitchText {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    75% { transform: translate(-2px, -2px); }
}

.footer-links {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center; border-radius: 2px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 1px; font-weight: 500;
    color: #666;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 46, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
    transition: all 0.3s;
    font-size: 14px;
}

.back-to-top:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    width: 100%;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .back-to-top {
        align-self: center;
    }
}

/* IMPROVED FOOTER FINAL */
#footer {
    padding-bottom: 80px;
    padding: 60px 0 100px;
    background: #000;
    border-top: 1px solid rgba(255, 0, 46, 0.2);
    position: relative;
    
    margin-top: 50px;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(255, 0, 46, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-accent {
    width: 3px;
    height: 50px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 4px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}

.footer-brand .dot {
    color: var(--primary);
}

.footer-brand .slogan {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5px 0 0 0;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #888;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.back-to-top:hover {
    background: var(--primary);
    color: #000;
}

.footer-bottom {
    width: 100%;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    .back-to-top {
        display: none;
    }
}
/* SYSTEM STATUS BAR (Taskbar Style) */
.sys-status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 0, 46, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 9000;
    font-family: var(--font-mono);
    font-size: 0.7rem; letter-spacing: 1px; font-weight: 500;
    color: var(--text-muted);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.sb-left, .sb-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.sb-widget {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sb-label {
    color: #555;
    font-weight: bold;
    letter-spacing: 1px;
}

.sb-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    letter-spacing: 2px;
}

.sb-time {
    color: #fff;
    font-weight: bold;
    background: rgba(255, 0, 46, 0.1);
    padding: 2px 8px;
    border-radius: 2px;
}

.coords {
    color: var(--primary);
    min-width: 180px;
}

.sensor-freq {
    color: var(--primary);
}

/* Hide old individual HUD elements */
.hud-bottom-left, .hud-bottom-right {
    display: none !important;
}

/* --- Updated Scroll Indicator --- */
.scroll-indicator {
    bottom: 120px; /* Up from status bar */
    gap: 10px;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 15px rgba(255, 0, 46, 0.2);
}

.mouse-icon .wheel {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: #fff;
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

.arrow-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5px;
}

.arrow-scroll span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
    margin: -6px 0;
    animation: scrollArrow 2s infinite;
    opacity: 0;
}

.arrow-scroll span:nth-child(2) { animation-delay: .2s; }
.arrow-scroll span:nth-child(3) { animation-delay: .4s; }

@keyframes scrollArrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Simple Chevron Scroll Style */
.scroll-indicator {
    bottom: 18vh !important;
}

.simple-chevron {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.simple-chevron span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: chevronPulse 1.5s infinite;
    opacity: 0;
}

.simple-chevron span:nth-child(1) { animation-delay: 0s; }
.simple-chevron span:nth-child(2) { animation-delay: 0.15s; }
.simple-chevron span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chevronPulse {
    0% { opacity: 0; }
    50% { opacity: 1; box-shadow: 2px 2px 5px rgba(255, 0, 46, 0.5); }
    100% { opacity: 0; }
}

/* Module Item Status Colors */
.status-loading { color: #fff; animation: blink 1s infinite; }
.status-encrypted { color: var(--primary); text-shadow: 0 0 5px var(--primary); }
.status-locked { color: #555; }

/* Module Item Layout Fix */
.module-item span:nth-child(2) {
    padding-left: 20px;
    white-space: nowrap;
}

.status-loading {
    color: #fff !important;
}

/* --- Academy Updates Step 1159 --- */

/* 1. Hollow Button */
.terminal-body .btn-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
    transition: all 0.3s ease;
}

.terminal-body .btn-primary:hover {
    background: var(--primary);
    color: #111; /* Dark text on hover */
    box-shadow: 0 0 20px var(--primary);
}

/* 2. Status Colors */
.status-granted {
    color: #0f0; /* Green */
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    font-weight: 600;
    letter-spacing: 1px;
}

/* 3. Muted ID */
.mod-id {
    color: #444;
    margin-right: 8px;
    font-weight: normal;
}

/* Layout adjustment for split ID/Name */
.module-item > div {
    display: flex;
    align-items: center;
     /* For text overflow safety */
}

/* --- Final Polish Updates --- */

/* 1. HUD Sound Button */
.hud-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    color: var(--primary);
    margin-left: 20px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 14px;
    pointer-events: auto !important; /* Ensure clickable */
    position: relative;
    z-index: 20000; /* Top layer */
    transition: 0.3s;
    vertical-align: middle;
}

.hud-btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary);
}

/* 2. Mobile Adaptation */
@media (max-width: 768px) {
    body { cursor: auto; }
    
    .hud-layer { padding: 5px; }

    .sys-status-bar { 
        flex-direction: column; 
        height: auto; 
        padding: 15px 10px;
        gap: 10px;
        bottom: 0;
        background: rgba(0,0,0,0.95);
        border-top: 1px solid var(--primary);
        z-index: 1000;
    }
    
    .sb-left, .sb-center, .sb-right {
        width: 100%;
        justify-content: center; border-radius: 2px;
        margin: 2px 0;
        flex-wrap: wrap;
    }
    
    h1 { font-size: 2rem; }
}

/* Nav Sound Button */
.nav-sound-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    width: 40px;
    height: 40px;
    margin-left: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
    transition: all 0.3s;
    font-size: 1rem;
}

.nav-sound-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 0, 46, 0.4);
}

/* Scroll Offset Fix */
html { scroll-behavior: smooth; }
section { scroll-margin-top: 100px; }
@media (max-width: 768px) { section { scroll-margin-top: 80px; } }

/* --- Syllabus Modal --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-container {
    background: #0a0a0a;
    border: 1px solid var(--primary);
    width: 90%; max-width: 600px;
    box-shadow: 0 0 40px rgba(255, 0, 50, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    /* Cyberpunk Shape */
    clip-path: polygon(
        20px 0, 100% 0, 
        100% calc(100% - 20px), calc(100% - 20px) 100%, 
        0 100%, 0 20px
    );
    position: relative;
}
.modal-overlay.active .modal-container { transform: scale(1); }
.modal-header {
    background: rgba(255, 0, 50, 0.1);
    border-bottom: 1px solid var(--primary);
    padding: 15px 25px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Space Mono', monospace; color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.modal-close {
    background: none; border: none; color: white;
    font-size: 28px; cursor: pointer; line-height: 1;
    transition: color 0.3s;
}
.modal-close:hover { color: var(--primary); text-shadow: 0 0 10px var(--primary); }
.modal-body { padding: 30px; color: #ccc; max-height: 70vh; overflow-y: auto; }
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-thumb { background: var(--primary); }
.modal-body h3 { color: white; font-family: 'Orbitron', sans-serif; margin-bottom: 10px; font-size: 1.4rem; letter-spacing: 2px; }
.modal-desc { font-size: 0.9em; margin-bottom: 25px; color: #888; border-left: 2px solid #333; padding-left: 15px; }

.syllabus-list { list-style: none; padding: 0; margin: 0; }
.syllabus-list li { 
    margin-bottom: 15px; 
    padding: 15px; 
    background: rgba(255,255,255,0.02); 
    border-left: 2px solid transparent;
    transition: 0.3s;
}
.syllabus-list li:hover { background: rgba(255, 0, 50, 0.05); border-left-color: var(--primary); }
.s-mod { display: block; color: var(--primary); font-weight: bold; font-family: 'Space Mono', monospace; font-size: 0.85rem; margin-bottom: 5px; }
.s-desc { font-size: 0.95em; color: #ddd; line-height: 1.4; }
.modal-footer { margin-top: 30px; text-align: center; }
.w-full { width: 100%; display: block; text-align: center; box-sizing: border-box; }

/* === ACADEMY ENHANCEMENTS === */

/* Better font for Training Modules title */
.terminal-body > p {
    font-family: 'Orbitron', sans-serif !important;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Module items hover effect */
.module-item {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.module-item:hover {
    background: rgba(255, 0, 46, 0.1);
    padding-left: 15px;
    border-left: 2px solid var(--primary);
}

.module-item:hover .mod-id {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Glitch effect on hover */
.module-item:hover span[data-mod] {
    animation: textGlitch 0.3s ease;
}

@keyframes textGlitch {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
}

/* Cohort info badge */
.cohort-info {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #333;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem; letter-spacing: 1px; font-weight: 500;
}

.cohort-info span {
    color: var(--primary);
    opacity: 0.9;
}

.slots-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

/* === NEW SYLLABUS MODAL (Packages Only) === */
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pkg-card {
    border: 1px solid #333;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,0,46,0.1), transparent);
    transition: 0.5s;
}

.pkg-card:hover::before {
    left: 100%;
}

.pkg-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 46, 0.2);
}

.pkg-card .pkg-icon {
    font-size: 2em;
    color: var(--primary);
    margin-bottom: 15px;
}

.pkg-card .pkg-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.pkg-card .pkg-sub {
    font-size: 0.7rem; letter-spacing: 1px; font-weight: 500;
    color: #666;
}

.pkg-detail-view {
    display: none;
    padding: 20px;
    border: 1px solid var(--primary);
    background: rgba(255,0,46,0.05);
}

.pkg-detail-view.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === TERMINAL STYLE MODAL === */
.terminal-style {
    background: #0d0d0d !important;
    border: 1px solid #333 !important;
    border-radius: 8px !important;
    clip-path: none !important;
    font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
    max-width: 650px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 1px rgba(255,0,46,0.5);
}

.terminal-bar {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    border-radius: 8px 8px 0 0;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27ca40; }

.terminal-title {
    flex: 1;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

.terminal-style .modal-close {
    position: static;
    background: none;
    border: none;
    color: #666;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.terminal-style .modal-close:hover {
    color: var(--primary);
}

.terminal-content {
    padding: 25px 30px;
    font-size: 0.9rem;
    line-height: 1.8;
}

.term-line {
    margin-bottom: 5px;
}

.prompt {
    color: #27ca40;
}

.cmd {
    color: #fff;
}

.comment {
    color: #666;
    font-style: italic;
}

.term-option {
    padding: 12px 15px;
    margin: 8px 0;
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    gap: 15px;
    align-items: baseline;
}

.term-option:hover {
    background: rgba(255, 0, 46, 0.1);
    border-left-color: var(--primary);
    padding-left: 25px;
}

.opt-key {
    color: var(--primary);
    font-weight: bold;
    min-width: 30px;
}

.opt-name {
    color: #fff;
    font-weight: bold;
    min-width: 120px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opt-desc {
    color: #555;
    font-size: 0.85em;
}

.cursor-blink {
    color: var(--primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typing effect */
.typed .cmd {
    
    white-space: nowrap;
    animation: typing 1s steps(20);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Refined card number */
.pkg-num {
    position: absolute;
    top: 10px;
    left: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #444;
    transition: color 0.3s;
}

.pkg-card:hover .pkg-num {
    color: var(--primary);
}

.pkg-card {
    position: relative;
}

/* === ACADEMY BLOCK INTEGRATION === */

/* Terminal more integrated look */
.academy-terminal {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 
        0 0 40px rgba(255, 0, 46, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

/* Terminal header lighter */
.terminal-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Training Modules title - match site style */
.terminal-body > p {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.3rem !important;
    letter-spacing: 2px;
    color: #fff !important;
}

/* Module items refined */
.module-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease;
}

.module-item:hover {
    background: rgba(255, 0, 46, 0.08);
    border-left: 2px solid var(--primary);
    padding-left: 15px;
}

/* Softer status colors */
.status-granted {
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.status-encrypted {
    text-shadow: 0 0 10px rgba(255, 0, 46, 0.5);
}

/* Button more integrated */
.academy-terminal .btn-primary {
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    box-shadow: 0 0 20px rgba(255, 0, 46, 0.2);
}

.academy-terminal .btn-primary:hover {
    background: var(--primary) !important;
    box-shadow: 0 0 30px rgba(255, 0, 46, 0.4);
}

/* === ORBITAL ACADEMY LAYOUT === */
.orbital-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center; border-radius: 2px;
    align-items: center;
}

.orbital-center {
    position: absolute;
    z-index: 10;
}

.orbital-center .holo-spinner {
    width: 200px;
    height: 200px;
}

.orbital-center .mask-core img {
    width: 150px;
    height: auto;
}

/* Orbiting modules */
.orbital-module {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center; border-radius: 2px;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 20;
}

.orbital-module:hover {
    border-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 0, 46, 0.4);
}

.orbital-module .module-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
    transition: all 0.3s;
}

.orbital-module:hover .module-icon {
    text-shadow: 0 0 20px var(--primary);
    transform: scale(1.1);
}

.orbital-module .module-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
}

/* Positions (5 modules around center) */
.orbital-module.m1 { top: 50px; left: 50%; transform: translateX(-50%); }
.orbital-module.m2 { top: 180px; right: 80px; }
.orbital-module.m3 { bottom: 100px; right: 120px; }
.orbital-module.m4 { bottom: 100px; left: 120px; }
.orbital-module.m5 { top: 180px; left: 80px; }

/* Connection lines */
.orbital-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Pulse animation for center */
.orbital-center .holo-spinner::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 250px; height: 250px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 0, 46, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .orbital-container {
        height: auto;
        flex-direction: column;
        padding: 40px 0;
    }
    
    .orbital-module {
        position: relative;
        margin: 10px;
    }
    
    .orbital-module.m1, .orbital-module.m2, .orbital-module.m3, 
    .orbital-module.m4, .orbital-module.m5 {
        position: relative;
        top: auto; left: auto; right: auto; bottom: auto;
        transform: none;
    }
    
    .orbital-center {
        position: relative;
        margin-bottom: 30px;
    }
    
    .orbital-lines { display: none; }
}

/* Academy modules grid */
.academy-modules {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.df-card.mini {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
}

.df-card.mini .icon-box {
    min-width: 50px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
    font-size: 1.3rem;
}

.df-card.mini .card-text h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

.df-card.mini .card-text p {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

/* Smaller academy cards */
.df-card.mini {
    padding: 12px 18px !important;
    gap: 15px !important;
}

.academy-modules {
    gap: 10px !important;
}

.df-card.mini .icon-box {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

.df-card.mini .card-text h3 {
    font-size: 0.85rem !important;
    margin-bottom: 3px !important;
}

.df-card.mini .card-text p {
    font-size: 0.7rem !important;
}

/* Fix academy layout */
.academy-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: center !important;
}

.academy-modules {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.df-card.mini {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix academy cards styling */
.df-card.mini {
    background: rgba(15, 15, 15, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 !important;
    padding: 15px 20px !important;
}

.df-card.mini .card-text h3 {
    font-style: normal !important;
    font-weight: 600 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.df-card.mini .card-text p {
    font-family: 'JetBrains Mono', monospace !important;
    font-style: normal !important;
}

.df-card.mini .icon-box {
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    border-radius: 0 !important;
}

/* Hover effect */
.df-card.mini:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(255, 0, 46, 0.15) !important;
}

/* Fix text alignment in cards */
.df-card.mini {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
}

.df-card.mini .icon-box {
    flex-shrink: 0 !important;
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
    height: 50px !important;
    margin-right: 20px !important;
}

.df-card.mini .card-text {
    flex: 1 !important;
    text-align: left !important;
}

.df-card.mini .card-text h3,
.df-card.mini .card-text p {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Remove icon border */
.df-card.mini .icon-box {
    border: none !important;
    background: none !important;
}

/* Compact academy cards */
.academy-modules {
    gap: 8px !important;
}

.df-card.mini {
    padding: 10px 15px !important;
    gap: 15px !important;
}

.df-card.mini .icon-box {
    width: 35px !important;
    min-width: 35px !important;
    height: 35px !important;
    font-size: 1.3rem !important;
}

.df-card.mini .card-text h3 {
    font-size: 0.8rem !important;
    margin-bottom: 2px !important;
}

.df-card.mini .card-text p {
    font-size: 0.65rem !important;
    line-height: 1.3 !important;
}

/* Compact button */
.academy-modules .btn-primary {
    margin-top: 15px !important;
    padding: 12px !important;
    font-size: 0.85rem !important;
}

/* Enhanced status bar */
.sys-status-bar {
    background: linear-gradient(90deg, rgba(255,0,46,0.1) 0%, rgba(10,10,10,0.95) 20%, rgba(10,10,10,0.95) 80%, rgba(255,0,46,0.1) 100%) !important;
    border-top: 1px solid rgba(255, 0, 46, 0.3) !important;
    box-shadow: 0 -5px 30px rgba(255, 0, 46, 0.1) !important;
}

.sys-status-bar .sb-label {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255, 0, 46, 0.5) !important;
}

.sys-status-bar .coords {
    color: #0f0 !important;
    font-family: 'JetBrains Mono', monospace !important;
    animation: coordFlicker 3s infinite;
}

@keyframes coordFlicker {
    0%, 90%, 100% { opacity: 1; }
    92%, 94%, 96% { opacity: 0.5; }
}

.blink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #0f0;
    border-radius: 50%;
    animation: dotPulse 1.5s infinite;
    box-shadow: 0 0 10px #0f0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Enhanced Modal - Cyberpunk Style */
.modal-container {
    background: linear-gradient(135deg, rgba(15,15,15,0.98) 0%, rgba(8,8,8,0.98) 100%) !important;
    border: 1px solid rgba(255, 0, 46, 0.3) !important;
    clip-path: polygon(
        0 25px, 25px 0, 
        calc(100% - 25px) 0, 100% 25px,
        100% calc(100% - 25px), calc(100% - 25px) 100%,
        25px 100%, 0 calc(100% - 25px)
    ) !important;
    box-shadow: 
        0 0 50px rgba(255, 0, 46, 0.2),
        inset 0 0 100px rgba(0,0,0,0.5) !important;
}

.modal-header {
    background: linear-gradient(90deg, rgba(255,0,46,0.3) 0%, rgba(255,0,46,0.1) 50%, rgba(255,0,46,0.3) 100%) !important;
    border-bottom: 1px solid rgba(255, 0, 46, 0.4) !important;
}

/* Package Cards - Cyberpunk Style */
.pkg-card {
    background: rgba(10, 10, 10, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    clip-path: polygon(
        0 15px, 15px 0, 
        calc(100% - 15px) 0, 100% 15px,
        100% calc(100% - 15px), calc(100% - 15px) 100%,
        15px 100%, 0 calc(100% - 15px)
    ) !important;
    transition: all 0.3s ease !important;
}

.pkg-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 
        0 0 30px rgba(255, 0, 46, 0.3),
        inset 0 0 30px rgba(255, 0, 46, 0.05) !important;
    transform: translateY(-5px) !important;
}

.pkg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pkg-card:hover::before {
    opacity: 1;
}

.pkg-num {
    color: var(--primary) !important;
    font-family: 'Orbitron', sans-serif !important;
    text-shadow: 0 0 10px rgba(255, 0, 46, 0.5) !important;
}

/* Footer Slogan */
.footer-slogan {
    position: fixed;
    bottom: 0;
    left: 0;
    left: calc(100% + 15px);
    padding: 15px 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 100;
}

.footer-slogan span {
    transition: color 0.3s;
}

.footer-slogan .dot {
    color: var(--primary);
    margin: 0 15px;
}

.footer-slogan:hover span:not(.dot) {
    color: #fff;
}

/* Hybrid Footer Styles */
.footer-slogan-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-slogan-text .dot {
    color: var(--primary);
    margin: 0 10px;
}

/* SECURE UPLINK BUTTONS FIX */
.code-display {
    position: relative;
    padding-right: 120px !important; /* Space for buttons */
}
.code-actions {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}
.copy-btn, .onion-link {
    background: #0a0a0a;
    border: 1px solid #333;
    color: #888;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center; border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.copy-btn:hover, .onion-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 0, 46, 0.3);
}

/* NARROW UPLINK CONTAINER */
.access-container {
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Smaller Code Font */
.code-display code {
    font-size: 0.8rem !important; 
    letter-spacing: 0.5px !important;
}

/* CRITICAL UPLINK FIX - FORCE UNIFORMITY */
.secure-access .df-card {
    height: 150px !important; /* Fixed height for the CARD itself */
    display: flex;
    flex-direction: column;
    justify-content: center; border-radius: 2px;
    box-sizing: border-box !important;
}

.secure-access .card-header {
    margin-bottom: 25px !important; /* Fixed margin */
    flex-shrink: 0;
}

.secure-access .code-display {
    height: 50px !important; /* Fixed height for code box */
    min-height: 50px !important;
    padding: 0 100px 0 20px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important; /* Prevent scrollbar height differences */
    box-sizing: border-box !important;
}

.secure-access .code-display code {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100%;
    border: none !important;
}

/* UPLINK HEADER CENTERING */
#uplink .sys-header {
    justify-content: center !important;
    border-left: none !important;
    padding-left: 0 !important;
    text-align: center !important;
}
#uplink .sys-header .deco-line {
    display: none !important;
}

/* UPLINK CARD SPACING FIX */
.secure-access .df-card {
    margin-bottom: 20px; /* Ensure gap */
    width: 100%;
}

/* COMPACT FIT FIX */
#uplink {
    padding: 40px 0 20px 0 !important;
}
#uplink .sys-header {
    margin-bottom: 30px !important;
}
.secure-access .df-card {
    height: 120px !important; /* Smaller Height */
    padding: 20px !important;
}
.secure-access .card-header {
    margin-bottom: 15px !important; /* Tighter header */
}
.secure-access .code-display {
    height: 40px !important; /* Tighter code box */
    min-height: 40px !important;
}

/* ULTRA COMPACT FIX */
#uplink {
    padding: 10px 0 10px 0 !important;
}
#footer {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}
.secure-access .df-card {
    margin-bottom: 10px !important;
}

/* INCREASE TITLE GAP */
#uplink .sys-header {
    margin-bottom: 60px !important;
}

/* INCREASE TITLE GAP MORE */
#uplink .sys-header {
    margin-bottom: 100px !important;
}

/* CUSTOM NOTIFICATIONS */
.custom-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.95);
    border-left: 3px solid var(--primary);
    color: #fff;
    padding: 15px 25px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5), inset 0 0 10px rgba(255,0,46,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}
.custom-notification.active {
    transform: translateX(0);
}
.noti-icon {
    color: var(--primary);
    font-weight: bold;
    animation: blink 0.8s step-end infinite;
}

/* MINI RELATIVE NOTIFICATION */
.custom-notification.mini-noti {
    padding: 8px 15px;
    font-size: 0.7rem; letter-spacing: 1px; font-weight: 500;
    border-left: 2px solid var(--primary);
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
}
.custom-notification.mini-noti.active {
    transform: translate(-50%, -20px) scale(1);
    opacity: 1;
}

/* Academy section spacing fix */
#academy {
    padding-top: 150px !important;
}

/* ULTRA COMPACT ACADEMY - FIT ON ONE SCREEN */
#academy {
    padding: 0px 0 100px 0 !important;
}

#academy .sys-header {
    margin-bottom: 30px !important;
}

#academy .academy-modules {
    gap: 10px !important;
}

#academy .academy-modules .df-card.mini {
    padding: 8px 12px !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#academy .academy-modules .df-card.mini .card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; border-radius: 2px;
}

#academy .academy-modules .df-card.mini h3 {
    font-size: 0.75rem !important;
    margin-bottom: 3px !important;
}

#academy .academy-modules .df-card.mini p {
    font-size: 0.7rem !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

#academy .academy-modules .df-card.mini .icon-box {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
}

#academy .academy-modules .btn-primary {
    margin-top: 12px !important;
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
}

#academy .academy-visual {
    transform: scale(1.0);
}

/* Move Services section higher */
#services {
    padding-top: 80px !important;
}

/* Fix Clients and Contact section positioning for proper centering */
#clients {
    padding-top: 80px !important;
}

#contact {
    padding-top: 80px !important;
}

/* Uplink Button Styling from USER REQUEST */
.uplink-copy-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 0, 46, 0.3);
    color: var(--primary);
    padding: 0 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    z-index: 5;
}

.uplink-copy-btn:hover {
    background: rgba(255, 0, 46, 0.1);
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 100px !important;
    border: 1px solid rgba(255, 0, 46, 0.2);
    height: 60px;
    /* overflow is NOT hidden to show notification outside */
}

.code-display code {
    text-align: center;
    width: 100%;
}

/* Updated Notification Styling - Outside Right */
.custom-notification.inline-noti {
    position: absolute;
    left: calc(100% + 20px); /* Exactly to the right of the card */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(255, 0, 46, 0.1);
    border: 1px solid var(--primary);
    padding: 8px 15px;
    font-family: var(--font-mono); /* Site standard font */
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.custom-notification.inline-noti.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Body Notification Styling (Fixed Size) */
.custom-notification.body-noti {
    position: absolute;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary);
    padding: 0 15px; /* Less horizontal padding */
    height: 40px; /* Fixed height, compact */
    line-height: 40px;
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 500;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: fit-content !important; /* Force fit content */
    min-width: 100px; /* Minimum width for aesthetics */
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.custom-notification.body-noti.active {
    opacity: 1;
}

/* Hide HUD elements behind logo as requested */
.hud-top-left { display: none !important; }

/* Force Sound Button Interactive */
#sound-toggle { pointer-events: auto !important; z-index: 10000 !important; position: relative; cursor: pointer !important; }

/* STATUS DOT PULSE */
.status-dot {
    width: 6px;
    height: 6px;
    background-color: #00ff41;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    box-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41;
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { opacity: 0.4; box-shadow: 0 0 2px #00ff41; }
    50% { opacity: 1; box-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41; }
    100% { opacity: 0.4; box-shadow: 0 0 2px #00ff41; }
}

/* Nav Underline Effect */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px; /* Thin, distinct line */
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}
