:root {
    --bg-main: #f4f5f7;
    --bg-panel: #ffffff;
    --text-main: #0c1015;
    --border-main: #d1d5db;
    --grid-color: rgba(0, 0, 0, 0.04);
    --bg-invert: #0d1117;
    --text-invert: #ffffff;
    --accent-green: #059669;
    --accent-cyan: #0284c7;
    --accent-badge-bg: #e5e7eb;
}

[data-theme="dark"] {
    --bg-main: #080a0d;
    --bg-panel: #0f1318;
    --text-main: #e6edf3;
    --border-main: #21262d;
    --grid-color: rgba(255, 255, 255, 0.035);
    --bg-invert: #f0f6fc;
    --text-invert: #080a0d;
    --accent-green: #00ff88;
    --accent-cyan: #00e5ff;
    --accent-badge-bg: #161b22;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, .italic-bold {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
}

#cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 999999;
    transition: transform .15s ease, opacity .2s ease;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0,0,0,0.1) 1px, transparent 0);
    background-size: 40px 40px;
}

.grid-lines-h, .grid-lines-v {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.grid-lines-h {
    background-image: linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 100% 80px;
}

.grid-lines-v {
    background-image: linear-gradient(to right, var(--grid-color) 1px, transparent 1px);
    background-size: 80px 100%;
}

.nav-link {
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: black;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hero-text {
    opacity: 0;
    transform: translateY(100%);
}

.dashboard-panel {
    border: 1px solid var(--border-color);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05);
}

.scrolling-text {
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
    border-left: 1px solid var(--border-main);
}

::-webkit-scrollbar-thumb {
    background: var(--text-main);
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 4rem !important;
    }
}

.service-card-hover {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-hover:hover {
    background-color: var(--bg-invert);
    color: var(--text-invert);
    transform: translateY(-5px);
}

.project-card {
    border: 1px solid var(--border-main);
    position: relative;
    overflow: hidden;
}

.project-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

/* High-Ticket Enterprise Contract CTA */
.cta-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--border-main);
    background: var(--bg-invert);
    color: var(--text-invert);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.cta-enterprise:hover {
    background: transparent;
    color: var(--text-main);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.25);
    transform: translateY(-1px);
}

[data-theme="dark"] .cta-enterprise {
    border-color: #00ff88;
    color: #00ff88;
    background: rgba(0, 255, 136, 0.08);
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.2);
}

[data-theme="dark"] .cta-enterprise:hover {
    background: #00ff88;
    color: #000000;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
    animation: cta-pulse 1.8s infinite ease-in-out;
}

@keyframes cta-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.4); }
}

/* Primary Recruiter CV / Resume Action Button */
.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--accent-green);
    background: rgba(0, 255, 136, 0.12);
    color: var(--accent-green);
    box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-resume:hover {
    background: var(--accent-green);
    color: #000000;
    box-shadow: 0 0 24px rgba(0, 255, 136, 0.45);
    transform: translateY(-2px);
}

/* Dynamic Industry UI Badges */
.cyber-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-main);
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.25s ease;
}

.cyber-badge:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: var(--accent-badge-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 255, 136, 0.15);
}

.cyber-badge-cyan:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 2px 8px rgba(0, 229, 255, 0.15);
}

/* Severity Tag Badges */
.sev-critical {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 2px;
}

.sev-high {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 2px;
}

.sev-medium {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.3);
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 2px;
}

.sev-remediated {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border-radius: 2px;
}

/* Glass & Neon Accents */
.border-glow-green:hover {
    border-color: var(--accent-green) !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.15);
}

.border-glow-cyan:hover {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

/* Architectural Tech Tags */
.arch-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 2px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
    letter-spacing: 0.04em;
    font-weight: 600;
}



