/* CYBERPUNK DESIGN SYSTEM - XDOSDEV */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cyberpunk Color Palette */
    --primary-cyan: #00ffff;
    --primary-magenta: #ff00ff;
    --primary-yellow: #ffff00;
    --neon-green: #39ff14;
    --neon-blue: #0080ff;
    --neon-pink: #ff0080;
    
    /* Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --surface: #222222;
    --surface-light: #333333;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-accent: #00ffff;
    --text-muted: #888888;
    
    /* Borders */
    --border-primary: #333333;
    --border-accent: #00ffff;
    --border-glow: rgba(0, 255, 255, 0.5);
    
    /* Typography */
    --font-mono: 'Orbitron', 'Courier New', monospace;
    --font-tech: 'Rajdhani', 'Arial', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    
    /* Shadows & Glows */
    --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);
    --glow-magenta: 0 0 20px rgba(255, 0, 255, 0.3);
    --glow-green: 0 0 20px rgba(57, 255, 20, 0.3);
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

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

/* Matrix Background Effect */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 255, 0.02) 50%, transparent 51%);
    pointer-events: none;
    z-index: -1;
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    animation: scanLine 3s linear infinite;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes scanLine {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-primary);
    z-index: 1000;
    padding: var(--space-sm) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 2px;
}

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

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-mono);
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary-cyan);
    opacity: 0;
    transform: translateX(-2px) translateY(-2px);
    transition: all 0.3s ease;
    pointer-events: none;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    text-shadow: var(--glow-cyan);
}

.nav-link:hover::before {
    opacity: 0.3;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.toggle-line {
    width: 25px;
    height: 2px;
    background: var(--primary-cyan);
    transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: var(--space-xl) var(--space-md);
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    opacity: 0.1;
    pointer-events: none;
}

.grid-item {
    border: 1px solid var(--primary-cyan);
    position: relative;
}

.grid-item:nth-child(odd) {
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-item:nth-child(even) {
    animation: gridPulse 4s ease-in-out infinite 2s;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; box-shadow: inset var(--glow-cyan); }
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    z-index: 2;
}

.terminal-window {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow), var(--glow-cyan);
}

.terminal-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.minimize { background: var(--neon-green); }
.control.maximize { background: var(--primary-yellow); }
.control.close { background: var(--neon-pink); }

.terminal-body {
    padding: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 0.5rem;
}

.prompt {
    color: var(--neon-green);
}

.command {
    color: var(--primary-cyan);
}

.output {
    color: var(--text-secondary);
}

.output.success {
    color: var(--neon-green);
}

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

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-bracket {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.title-glitch {
    position: relative;
    color: var(--text-primary);
}

.title-glitch::before,
.title-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.title-glitch::before {
    color: var(--primary-cyan);
    animation: glitch1 2s infinite;
}

.title-glitch::after {
    color: var(--neon-pink);
    animation: glitch2 2s infinite;
}

@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(2px, 0); }
    40% { transform: translate(0, -2px); }
    60% { transform: translate(-2px, 0); }
    80% { transform: translate(0, 2px); }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.code-comment {
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* CYBER BUTTONS */
.btn-cyber {
    background: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cyber:hover {
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
    text-shadow: none;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-cyan);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-cyber:hover::before {
    left: 0;
}

.btn-cyber.secondary {
    border-color: var(--primary-magenta);
    color: var(--primary-magenta);
}

.btn-cyber.secondary::before {
    background: var(--primary-magenta);
}

.btn-cyber.secondary:hover {
    box-shadow: var(--glow-magenta);
}

.btn-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-cyan);
    opacity: 0;
    z-index: -1;
}

.status-bar {
    position: absolute;
    bottom: var(--space-md);
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    z-index: 2;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
}

.status-label {
    color: var(--text-muted);
}

.status-value {
    color: var(--text-accent);
    font-weight: 600;
}

.status-value.online {
    color: var(--neon-green);
}

/* SECTION HEADERS */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-xl);
    gap: var(--space-md);
}

.header-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    max-width: 200px;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
}

.title-prefix {
    color: var(--neon-green);
    margin-right: 1rem;
}

.title-suffix {
    color: var(--text-muted);
    margin-left: 1rem;
}

/* SERVICES SECTION */
.services {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta), var(--primary-cyan));
}

.services-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.service-module {
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.service-module:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.module-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-primary);
}

.module-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
    animation: pulse 2s infinite;
}

.module-name {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.module-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
}

.module-content {
    padding: var(--space-md);
}

.module-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Service Module Icons */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
}

.icon-cell {
    background: var(--surface);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.icon-cell.active {
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.web-structure {
    position: relative;
    width: 100%;
    height: 100%;
}

.structure-line {
    height: 2px;
    background: var(--border-primary);
    margin: 8px 0;
    position: relative;
}

.structure-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--primary-cyan);
    animation: loadLine 3s ease-in-out infinite;
}

@keyframes loadLine {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

.structure-nodes {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.node {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.design-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.layer {
    position: absolute;
    border: 2px solid var(--border-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.layer-1 {
    top: 0;
    left: 0;
    right: 10px;
    bottom: 20px;
    border-color: var(--primary-cyan);
}

.layer-2 {
    top: 10px;
    left: 10px;
    right: 0;
    bottom: 10px;
    border-color: var(--primary-magenta);
}

.layer-3 {
    top: 20px;
    left: 20px;
    right: -10px;
    bottom: 0;
    border-color: var(--neon-green);
}

.system-circuit {
    position: relative;
    width: 100%;
    height: 100%;
}

.circuit-path {
    position: absolute;
    background: var(--border-primary);
}

.path-1 {
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-magenta));
}

.path-2 {
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    background: linear-gradient(0deg, var(--primary-cyan), var(--neon-green));
}

.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: var(--glow-green);
}

.node-1 { top: 16px; left: 8px; }
.node-2 { top: 16px; left: 26px; }
.node-3 { top: 16px; right: 8px; }

.module-desc p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.module-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stack-item {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.stack-item:hover {
    background: var(--primary-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

/* PROJECTS SECTION */
.projects {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-primary);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--font-mono);
    background: transparent;
    border: 2px solid var(--border-primary);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab.active,
.filter-tab:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-tab.active::before,
.filter-tab:hover::before {
    left: 0;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.card-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.project-id {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-accent);
}

.project-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
}

.card-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
}

.project-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-frame {
    width: 60px;
    height: 100px;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.screen-content {
    position: absolute;
    top: 8px;
    left: 4px;
    right: 4px;
    bottom: 8px;
    background: var(--surface);
}

.app-bar {
    height: 12px;
    background: var(--primary-cyan);
    margin-bottom: 4px;
}

.content-blocks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px;
}

.block {
    height: 8px;
    background: var(--border-primary);
}

.block:nth-child(2) {
    background: var(--primary-magenta);
}

.web-browser {
    width: 80px;
    height: 60px;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 4px;
    overflow: hidden;
}

.browser-bar {
    height: 16px;
    background: var(--surface);
    display: flex;
    align-items: center;
    padding: 0 6px;
    border-bottom: 1px solid var(--border-primary);
}

.browser-dots {
    display: flex;
    gap: 2px;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-primary);
}

.browser-content {
    padding: 4px;
}

.web-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    height: 32px;
}

.grid-cell {
    background: var(--border-primary);
}

.grid-cell.active {
    background: var(--primary-cyan);
}

.system-diagram {
    width: 80px;
    height: 60px;
    position: relative;
}

.diagram-nodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.sys-node {
    width: 16px;
    height: 16px;
    background: var(--primary-cyan);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.diagram-connections {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.connection {
    position: absolute;
    height: 100%;
    background: var(--border-primary);
}

.con-1 {
    left: 8px;
    right: 50%;
}

.con-2 {
    left: 50%;
    right: 8px;
}

.project-name {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm);
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid var(--primary-magenta);
    color: var(--primary-magenta);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.project-btn {
    background: transparent;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 0.5rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.project-btn:hover {
    background: var(--primary-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.project-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ABOUT SECTION */
.about {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
}

.info-panel {
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.panel-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    font-weight: 600;
}

.panel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-green);
    box-shadow: var(--glow-green);
}

.panel-indicator.active {
    animation: pulse 2s infinite;
}

.panel-content {
    padding: var(--space-md);
}

.data-entry {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.data-key {
    color: var(--text-muted);
}

.data-value {
    color: var(--text-accent);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: var(--space-sm);
}

.stat-box {
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    padding: var(--space-sm);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.stat-header {
    margin-bottom: var(--space-xs);
}

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

.stat-value {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.stat-bar {
    flex: 1;
    height: 4px;
    background: var(--surface);
    border-radius: 2px;
    overflow: hidden;
}

.stat-progress {
    height: 100%;
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    animation: progressLoad 2s ease-out;
}

@keyframes progressLoad {
    from { width: 0 !important; }
}

.tech-matrix {
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.matrix-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.matrix-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    font-weight: 600;
}

.matrix-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md);
}

.tech-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border: 1px solid var(--border-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-node:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 255, 255, 0.05);
}

.node-core {
    width: 20px;
    height: 20px;
    background: var(--primary-cyan);
    border-radius: 50%;
    position: relative;
}

.node-core::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--bg-primary);
    border-radius: 50%;
}

.node-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
}

.tech-node:hover .node-label {
    color: var(--primary-cyan);
}

/* CONTACT SECTION */
.contact {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-terminal {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.contact-methods {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 2;
}

.method {
    display: flex;
    margin-bottom: var(--space-xs);
}

.method-type {
    color: var(--text-muted);
    min-width: 80px;
}

.method-value {
    color: var(--text-accent);
    font-weight: 600;
}

.message-interface {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: 8px;
    overflow: hidden;
}

.interface-header {
    background: var(--surface);
    padding: var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-primary);
}

.interface-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    font-weight: 600;
}

.interface-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon-green);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--neon-green);
    border-radius: 4px;
}

.contact-form {
    padding: var(--space-md);
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.input-field {
    position: relative;
    margin-bottom: var(--space-md);
}

.input-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-field input,
.input-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-primary);
    padding: 0.75rem 0;
    font-family: var(--font-tech);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.input-field input:focus,
.input-field textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-cyan);
}

.input-field input:focus + .input-line,
.input-field textarea:focus + .input-line {
    transform: scaleX(1);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.input-field textarea {
    resize: vertical;
    min-height: 100px;
}

/* FOOTER */
.footer {
    background: var(--surface);
    border-top: 2px solid var(--border-primary);
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.brand-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-brackets {
    color: var(--primary-cyan);
}

.logo-text {
    letter-spacing: 2px;
}

.brand-desc {
    color: var(--text-muted);
    font-style: italic;
}

.footer-status {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.status-text {
    color: var(--text-muted);
}

.status-indicator {
    color: var(--neon-green);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.group-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    margin-top: var(--space-lg);
    text-align: center;
}

.bottom-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
    margin-bottom: var(--space-md);
}

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

/* ANIMATIONS */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }
    
    .terminal-window {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        border-top: 2px solid var(--border-primary);
        flex-direction: column;
        padding: var(--space-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .status-bar {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-matrix {
        grid-template-columns: 1fr;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .project-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .input-group {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2rem;
        --space-lg: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .card-body {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .project-visual {
        margin-bottom: var(--space-sm);
    }
}