/* ============================================
   CYBEROGAR - Brutalist Cybersecurity Education
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:wght@400;700&family=VT323&display=swap');
@import url('retro-headers.css');

/* CSS Variables - DARK MODE with MOSS GREEN MATT ACCENTS */
:root {
    --black: #0a0a0a;
    --white: #FFFFFF;
    --moss-green: #006400;
    --moss-green-light: #008000;
    --moss-green-dark: #004d00;
    --gray-dark: #111111;
    --gray-mid: #1a1a1a;
    --gray-light: #888888;
    --gray-lighter: #AAAAAA;
    --gray-pale: #333333;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --accent: #6B8E4E;
    --bg-primary: #0a0a0a;
    --bg-secondary: #050505;

    --font-pixel: 'Press Start 2P', monospace;
    --font-terminal: 'VT323', monospace;
    --font-mono: 'Space Mono', monospace;

    --border-thick: 4px solid var(--moss-green);
    --border-thin: 2px solid var(--moss-green);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    cursor: url('../img/cursor-white.svg'), auto;
}

body {
    font-family: var(--font-mono);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Scanlines Overlay - moss green matt tint */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(107, 142, 78, 0.02),
            rgba(107, 142, 78, 0.02) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 9999;
}

/* Selection */
::selection {
    background: var(--black);
    color: var(--white);
}

/* Pixel Art Icons */
.pixel-icon {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    vertical-align: middle;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 1.5rem auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Dark section icons don't need invert - they're already green on black */
.section-dark .service-icon {
    filter: none;
}

.service-box:hover .service-icon {
    filter: none;
}

/* White Cursor for Dark Elements */
.section-dark,
.section-dark *,
.nav-logo:hover,
.nav-menu a:hover,
.nav-menu a.active,
.btn:hover,
.btn-primary,
.stat-box:hover,
.service-box:hover,
.contact-info,
.contact-info * {
    cursor: url('../img/cursor-white.svg'), auto;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-pixel);
    font-weight: 400;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h2 {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

h3 {
    font-size: clamp(0.8rem, 2vw, 1rem);
}

p {
    font-family: var(--font-mono);
    margin-bottom: 1rem;
}

a {
    color: var(--moss-green);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-menu a,
.nav-logo {
    color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: var(--border-thick);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: 70px;
}

.nav-logo {
    font-family: var(--font-pixel);
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-right: var(--border-thick);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    background: var(--moss-green);
    color: var(--black);
}

.nav-logo .pixel-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    border-right: var(--border-thick);
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    padding: 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--moss-green);
    color: var(--black);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-family: var(--font-pixel);
    font-size: 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}


.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.85);
    padding: 2rem;
    border: 1px solid var(--moss-green-dark);
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
}

.section-dark {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.95);
}

.hero-title {
    font-family: var(--font-pixel);
    font-size: clamp(2rem, 8vw, 6rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    position: relative;
}



@keyframes glitch {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, -2px);
    }

    98% {
        transform: translate(2px, 2px);
    }
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(-1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, -2px);
    }

    40% {
        transform: translate(-2px, 2px);
    }

    60% {
        transform: translate(1px, -1px);
    }

    80% {
        transform: translate(-1px, 1px);
    }
}

.hero-subtitle {
    font-family: var(--font-terminal);
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 3rem;
    opacity: 0;
    animation: typewriter 1s ease forwards 0.5s;
}

@keyframes typewriter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-ascii {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    line-height: 1.2;
    white-space: pre;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--moss-green);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    padding: 1rem 2rem;
    border: var(--border-thick);
    background: var(--black);
    position: relative;
    z-index: 2;
    color: var(--moss-green);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-fast);
    display: inline-block;
    text-decoration: none;
}

.btn:hover {
    background: var(--moss-green);
    color: var(--black);
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 var(--moss-green);
}

.btn-primary {
    background: var(--moss-green);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--black);
    color: var(--moss-green);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 6rem 2rem;
    border-top: var(--border-thick);
}

.section-dark {
    background: var(--gray-mid);
    color: var(--white);
}

.section-dark .btn {
    border-color: var(--moss-green);
    color: var(--moss-green);
}

.section-dark .btn:hover {
    background: var(--moss-green);
    color: var(--black);
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-pixel);
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::before {
    content: '>';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.section-subtitle {
    font-family: var(--font-terminal);
    font-size: 1.5rem;
    color: var(--gray-light);
}

.section-dark .section-subtitle {
    color: var(--gray-lighter);
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-box {
    border: var(--border-thick);
    padding: 2rem 1rem;
    text-align: center;
    transition: var(--transition-fast);
    margin: -2px;
    overflow: hidden;
}

.stat-box:hover {
    background: var(--moss-green);
    color: var(--black);
    transform: scale(1.02);
    z-index: 10;
    position: relative;
}

.stat-number {
    font-family: var(--font-pixel);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    display: block;
    margin-bottom: 1rem;
    word-break: break-word;
    line-height: 1.2;
}

.stat-label {
    font-family: var(--font-terminal);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-source {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    display: block;
}

/* ============================================
   SERVICES GRID
   ============================================ */

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

.service-box {
    border: var(--border-thick);
    padding: 2.5rem;
    margin: -2px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--moss-green);
    transform: translateY(100%);
    transition: var(--transition-normal);
    z-index: 0;
}

.service-box:hover::before {
    transform: translateY(0);
}

.service-box:hover {
    color: var(--black);
}

.service-box>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    font-family: var(--font-pixel);
}

.service-title {
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 0;
}

.team-member {
    border: var(--border-thick);
    padding: 0;
    margin: -2px;
    display: flex;
    flex-direction: column;
}

.team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gray-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    line-height: 1;
    white-space: pre;
    border-bottom: var(--border-thick);
    overflow: hidden;
}

.team-info {
    padding: 2rem;
}

.team-name {
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-role {
    font-family: var(--font-terminal);
    font-size: 1.3rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border: 2px solid var(--black);
    text-transform: uppercase;
}

/* ============================================
   TIMELINE / ROADMAP
   ============================================ */

.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--black);
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: var(--border-thick);
}

.timeline-item.completed::before {
    background: var(--black);
}

.timeline-phase {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-title {
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-form {
    border: var(--border-thick);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    border: var(--border-thick);
    background: var(--white);
    color: var(--black);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: var(--black);
    color: var(--white);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    border: var(--border-thick);
    border-left: none;
    padding: 3rem;
    background: var(--black);
    color: var(--white);
}

.contact-info-box {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 2px solid var(--white);
}

.contact-info-label {
    font-family: var(--font-pixel);
    font-size: 0.6rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.contact-info-value {
    font-family: var(--font-terminal);
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--white);
    color: var(--black);
}

/* ============================================
   ASCII ART DECORATIONS
   ============================================ */

.ascii-box {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    white-space: pre;
    line-height: 1.2;
    padding: 1rem;
    border: var(--border-thick);
    overflow-x: auto;
}

.ascii-decoration {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    white-space: pre;
    opacity: 0.7;
    line-height: 1;
    color: var(--moss-green);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    border-top: var(--border-thick);
    padding: 3rem 2rem;
    background: var(--bg-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-pixel);
    font-size: 0.8rem;
}

.footer-ascii {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    white-space: pre;
    line-height: 1.2;
    opacity: 0.8;
    color: var(--moss-green);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

/* ============================================
   VALUES GRID
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.value-box {
    border: var(--border-thick);
    padding: 2rem;
    margin: -2px;
    transition: var(--transition-fast);
}

.value-box:hover {
    background: var(--black);
    color: var(--white);
}

.value-number {
    font-family: var(--font-pixel);
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.value-title {
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.value-desc {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   AUDIENCE CARDS
   ============================================ */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.audience-card {
    border: var(--border-thick);
    margin: -2px;
    overflow: hidden;
}

.audience-header {
    padding: 1.5rem;
    border-bottom: var(--border-thick);
    background: var(--black);
    color: var(--white);
}

.audience-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.audience-title {
    font-family: var(--font-pixel);
    font-size: 0.7rem;
}

.audience-content {
    padding: 1.5rem;
}

.audience-list {
    list-style: none;
    padding: 0;
}

.audience-list li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-pale);
    padding-left: 1.5rem;
    position: relative;
}

.audience-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    font-family: var(--font-pixel);
    font-size: 0.6rem;
}

.audience-list li:last-child {
    border-bottom: none;
}

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */

.page-header {
    padding: 150px 2rem 4rem;
    border-bottom: var(--border-thick);
    position: relative;
}

.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-pixel);
    font-size: clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.page-breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    opacity: 0.7;
}

.page-breadcrumb a {
    text-decoration: underline;
}

.page-breadcrumb a:hover {
    background: var(--black);
    color: var(--white);
}

/* ============================================
   CONTENT BLOCKS
   ============================================ */

.content-block {
    margin-bottom: 4rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-title {
    font-family: var(--font-pixel);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: var(--border-thin);
}

.content-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

/* Quote Block */
.quote-block {
    border-left: var(--border-thick);
    padding: 2rem;
    margin: 2rem 0;
    background: var(--gray-pale);
}

.quote-text {
    font-family: var(--font-terminal);
    font-size: 1.5rem;
    line-height: 1.4;
}

.quote-author {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.7;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-pixel);
    font-size: 1rem;
    animation: loadPulse 1s infinite;
}

@keyframes loadPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-left: var(--border-thick);
        border-top: none;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        border-bottom: var(--border-thick);
        transform: translateY(-150%);
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu li {
        border-right: none;
        border-bottom: var(--border-thick);
    }

    .nav-menu a {
        padding: 1.5rem 2rem;
        justify-content: center;
    }

    .nav-toggle {
        display: block;
        border-left: var(--border-thick);
    }

    .hero {
        padding-top: 100px;
    }

    .hero-ascii {
        display: none;
    }

    .btn-group {
        flex-direction: column;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 0.7rem;
        padding: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .service-box {
        padding: 1.5rem;
    }

    .timeline {
        padding-left: 2rem;
    }

    .timeline-item {
        padding-left: 1rem;
    }

    .timeline-item::before {
        left: -2rem;
        width: 15px;
        height: 15px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none;
}

/* Pixel cursor for links */
a:hover {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><rect x="0" y="0" width="4" height="4" fill="white"/><rect x="0" y="0" width="4" height="4" fill="black" opacity="0.5"/><rect x="4" y="4" width="4" height="4" fill="black"/><rect x="8" y="8" width="4" height="4" fill="black"/></svg>'), pointer;
}

/* ============================================
   MATRIX EFFECT & ISOLATION
   ============================================ */

.matrix-bg {
    position: relative;
    overflow: hidden;
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    /* Subtle background */
    pointer-events: none;
}

/* ISOLATION - HERO */
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.9);
    /* High opacity */
    border: 1px solid var(--moss-green);
    padding: 2rem;
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* ISOLATION - SECTION DARK */
.section-dark {
    position: relative;
    z-index: 1;
}

.section-dark .service-box {
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.9);
    /* High opacity */
    border: 1px solid var(--moss-green);
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.section-dark .service-box:hover {
    border-color: #33FF33;
    transform: translateY(-5px);
}

/* Ensure Text is Bright/Visible on Dark Isolated Backgrounds */
.section-dark .service-title {
    color: #33FF33;
    /* Neon Green Title */
    text-shadow: 1px 1px 0 #000;
}

/* Disable hover effect for static boxes (like computer anim) */
.section-dark .service-box.static-box::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.section-dark .service-box.static-box:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-color: transparent !important;
    color: inherit !important;
}

.section-dark .service-box.static-box:hover .service-icon {
    transform: none !important;
    filter: none !important;
}