:root {
    --green: #14fe17;
    --green-mid: #0ecc11;
    --green-dim: #0a8a0c;
    --green-dark: #064f07;
    --green-glow: rgba(20, 254, 23, 0.25);
    --green-subtle: rgba(20, 254, 23, 0.06);
    --bg: #080c08;
    --bg-card: #0c120c;
    --text: #d4f5d6;
    --text-dim: #8fbc91;
    --amber: #fe9a14;
    --amber-glow: rgba(254, 154, 20, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--green); color: var(--bg); }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== CRT MONITOR WRAPPER ===== */
/* Barrel distortion - makes the whole page feel like a curved CRT */
.crt-screen {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== SCANLINES (thick, like real phosphor rows) ===== */
.crt-scanlines {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.18) 2px,
        rgba(0, 0, 0, 0.18) 4px
    );
}

/* ===== PHOSPHOR RGB SUB-PIXELS ===== */
.crt-rgb {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9997;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 255, 0, 0.03) 0px,
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    mix-blend-mode: screen;
}

/* ===== VIGNETTE (heavy, CRT edge darkening) ===== */
.crt-vignette {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(
        ellipse at center,
        transparent 40%,
        rgba(0, 0, 0, 0.25) 65%,
        rgba(0, 0, 0, 0.55) 85%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* ===== SCREEN CURVATURE via subtle inner shadow ===== */
.crt-curvature {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9996;
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.4),
        inset 0 0 200px rgba(0, 0, 0, 0.2);
}

/* ===== PHOSPHOR GLOW on the entire page ===== */
.crt-phosphor {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9995;
    background: radial-gradient(
        ellipse at center,
        rgba(20, 254, 23, 0.03) 0%,
        transparent 70%
    );
}

/* ===== MOVING SCANLINE (the bright horizontal bar that sweeps) ===== */
.crt-sweep {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 8px;
    pointer-events: none;
    z-index: 10000;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(20, 254, 23, 0.06) 40%,
        rgba(20, 254, 23, 0.10) 50%,
        rgba(20, 254, 23, 0.06) 60%,
        transparent 100%
    );
    animation: sweep 6s linear infinite;
    opacity: 0.7;
}

@keyframes sweep {
    0% { top: -10px; }
    100% { top: 100vh; }
}

/* ===== SCREEN FLICKER (realistic CRT) ===== */
@keyframes crt-flicker {
    0% { opacity: 1; }
    3% { opacity: 0.96; }
    6% { opacity: 1; }
    9% { opacity: 0.98; }
    12% { opacity: 0.94; }
    15% { opacity: 1; }
    50% { opacity: 1; }
    52% { opacity: 0.97; }
    54% { opacity: 1; }
    100% { opacity: 1; }
}

/* ===== PHOSPHOR TEXT GLOW ===== */
.main-content,
.boot-screen {
    text-shadow: 0 0 3px rgba(20, 254, 23, 0.5),
                 0 0 8px rgba(20, 254, 23, 0.2),
                 0 0 20px rgba(20, 254, 23, 0.08);
}

/* ===== BOOT SCREEN ===== */
.boot-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    transition: opacity 0.8s ease;
}

.boot-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.boot-text {
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    color: var(--green);
    text-align: left;
    max-width: 650px;
    width: 100%;
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.7),
                 0 0 10px rgba(20, 254, 23, 0.4),
                 0 0 25px rgba(20, 254, 23, 0.15);
    line-height: 1.5;
}

.boot-text .line {
    opacity: 0;
    white-space: pre-wrap;
}

.boot-text .line.visible {
    opacity: 1;
}

.boot-cursor {
    display: inline-block;
    width: 10px;
    height: 1.1rem;
    background: var(--green);
    box-shadow: 0 0 5px rgba(20, 254, 23, 0.7),
                0 0 15px rgba(20, 254, 23, 0.3);
    animation: blink 0.6s infinite;
    vertical-align: text-bottom;
}

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

.boot-skip {
    position: absolute;
    bottom: 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--green-dark);
    letter-spacing: 2px;
    animation: pulse-skip 2s infinite;
}

@keyframes pulse-skip {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.main-content {
    animation: crt-flicker 8s infinite;
}

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 12, 8, 0.36);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--green-dark);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--green);
    text-decoration: none;
    letter-spacing: 5px;
    padding: 0.9rem 0;
    text-shadow: 0 0 5px rgba(20, 254, 23, 0.6),
                 0 0 15px rgba(20, 254, 23, 0.3),
                 0 0 30px rgba(20, 254, 23, 0.1);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 6px;
    color: var(--green);
    text-shadow: 0 0 5px rgba(20, 254, 23, 0.6),
                 0 0 15px rgba(20, 254, 23, 0.3),
                 0 0 30px rgba(20, 254, 23, 0.1);
}

.nav-logo-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.7),
                0 0 12px rgba(20, 254, 23, 0.35),
                0 0 25px rgba(20, 254, 23, 0.1);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(20, 254, 23, 0.7), 0 0 12px rgba(20, 254, 23, 0.35), 0 0 25px rgba(20, 254, 23, 0.1); }
    50% { opacity: 0.6; box-shadow: 0 0 2px rgba(20, 254, 23, 0.4), 0 0 6px rgba(20, 254, 23, 0.15); }
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 1.1rem 1.4rem;
    color: var(--text-dim);
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                 0 0 12px rgba(20, 254, 23, 0.25);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1.2rem; right: 1.2rem;
    height: 2px;
    background: var(--green);
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                0 0 12px rgba(20, 254, 23, 0.25);
}

.mobile-toggle {
    display: none;
    padding: 0.8rem;
    background: none;
    border: 1px solid var(--green-dark);
    color: var(--green);
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: auto;
}

/* ===== SECTIONS ===== */
section {
    padding: 3rem 1.5rem 3rem;
    max-width: 1280px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    color: var(--green-dim);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                 0 0 12px rgba(20, 254, 23, 0.3),
                 0 0 25px rgba(20, 254, 23, 0.1);
}

.section-line {
    width: 60px;
    height: 2px;
    background: var(--green-dim);
    margin-bottom: 2.5rem;
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.5),
                0 0 12px rgba(20, 254, 23, 0.2);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
}

.hero-illustration {
    position: absolute;
    top: 55%;
    right: -450px;
    transform: translateY(-50%);
    width: 115%;
    max-width: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.85) 35%, black 50%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.85) 35%, black 50%);
    pointer-events: none;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(20, 254, 23, 0.15))
            drop-shadow(0 0 80px rgba(20, 254, 23, 0.06));
    opacity: 0.6;
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-metrics {
    position: relative;
    z-index: 1;
    max-width: 55%;
}

.hero-badge-row {
    display: inline-flex;
    align-items: stretch;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.88rem;
    color: var(--text);
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--green-dark);
    padding: 0.55rem 1.3rem;
    width: fit-content;
}

.hero-badge-left {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-badge-divider {
    width: 1px;
    height: 1.4em;
    background: var(--green-dark);
    flex-shrink: 0;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

/* ===== FLIP CLOCK (split-flap mechanical) ===== */
.flip-clock {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
}

.flip-clock-separator {
    font-family: 'VT323', monospace;
    color: var(--green);
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 1px;
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.6);
    animation: separator-blink 1s step-end infinite;
    align-self: center;
}

@keyframes separator-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.flip-digit {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    width: 1.15em;
    height: 1.7em;
    perspective: 200px;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
}

/* Shared styles for all 4 layers */
.flip-digit .fd-top,
.flip-digit .fd-bottom,
.flip-digit .fd-front,
.flip-digit .fd-back {
    position: relative;
    display: block;
    height: 50%;
    width: 100%;
    background: rgba(6, 79, 7, 0.35);
    color: var(--green);
    overflow: hidden;
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                 0 0 10px rgba(20, 254, 23, 0.2);
}

.flip-digit .fd-top span,
.flip-digit .fd-bottom span,
.flip-digit .fd-front span,
.flip-digit .fd-back span {
    position: absolute;
    left: 50%;
    width: 100%;
    height: 200%;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.7em;
    transform: translateX(-50%);
}

/* Top half — static, shows new value immediately */
.flip-digit .fd-top {
    border-radius: 2px 2px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--green-dark);
    border-left: 1px solid var(--green-dark);
    border-right: 1px solid var(--green-dark);
}
.flip-digit .fd-top span {
    top: 0;
}

/* Bottom half — static, shows old value (updated after flip) */
.flip-digit .fd-bottom {
    border-radius: 0 0 2px 2px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--green-dark);
    border-left: 1px solid var(--green-dark);
    border-right: 1px solid var(--green-dark);
}
.flip-digit .fd-bottom span {
    bottom: 0;
}

/* Shadow that appears on bottom during flip */
.flip-digit .fd-bottom::before {
    content: '';
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    z-index: 5;
    pointer-events: none;
}

/* Leaf front — flips DOWN, shows OLD value top half */
.flip-digit .fd-front {
    position: absolute;
    top: 0;
    z-index: 10;
    height: 50%;
    border-radius: 2px 2px 0 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--green-dark);
    border-left: 1px solid var(--green-dark);
    border-right: 1px solid var(--green-dark);
    transform-origin: bottom center;
    transform: rotateX(0deg);
    transform-style: preserve-3d;
    transition-delay: 0.3s;
}
.flip-digit .fd-front span {
    top: 0;
}

/* Leaf back — unfolds DOWN, shows NEW value bottom half */
.flip-digit .fd-back {
    position: absolute;
    top: 50%;
    z-index: 10;
    height: 50%;
    border-radius: 0 0 2px 2px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--green-dark);
    border-left: 1px solid var(--green-dark);
    border-right: 1px solid var(--green-dark);
    transform-origin: top center;
    transform: rotateX(90deg);
    transform-style: preserve-3d;
    transition-delay: 0s;
}
.flip-digit .fd-back span {
    bottom: 0;
}

/* ===== FLIP ANIMATION ===== */
.flip-digit.flip .fd-front {
    transform: rotateX(-90deg);
    transition: transform 0.3s ease-in, background-color 0.3s ease-in;
    transition-delay: 0s;
    background: rgba(3, 40, 4, 0.5);
}
.flip-digit.flip .fd-back {
    transform: rotateX(0deg);
    transition: transform 0.3s ease-in, background-color 0.3s ease-in;
    transition-delay: 0.3s;
}
.flip-digit.flip .fd-bottom::before {
    height: 100%;
    transition: height 0.3s ease-in-out;
    transition-delay: 0.15s;
}

/* Subtle glow pulse on whole clock */
.flip-clock-glow {
    animation: clock-glow 2s ease-in-out infinite;
}

@keyframes clock-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

.hero-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--green);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px rgba(20, 254, 23, 0.7),
                 0 0 15px rgba(20, 254, 23, 0.35),
                 0 0 40px rgba(20, 254, 23, 0.12);
    letter-spacing: 1px;
    min-height: 3.5rem;
}

.hero-title .cursor {
    display: inline-block;
    width: 3px;
    height: 2.8rem;
    background: var(--green);
    box-shadow: 0 0 5px rgba(20, 254, 23, 0.7),
                0 0 15px rgba(20, 254, 23, 0.3);
    animation: blink 0.7s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    font-family: 'Share Tech Mono', monospace;
    padding: 0.85rem 2rem;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--green);
    color: var(--bg);
    box-shadow: 0 0 8px rgba(20, 254, 23, 0.5),
                0 0 20px rgba(20, 254, 23, 0.2),
                0 0 40px rgba(20, 254, 23, 0.08);
}

.btn-primary:hover {
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.7),
                0 0 30px rgba(20, 254, 23, 0.35),
                0 0 60px rgba(20, 254, 23, 0.15);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--green);
    border: 1px solid var(--green-dark);
}

.btn-ghost:hover {
    border-color: var(--green-dim);
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.1);
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--green-dark);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-family: 'VT323', monospace;
    font-size: 2.8rem;
    color: var(--green);
    text-shadow: 0 0 5px rgba(20, 254, 23, 0.7),
                 0 0 15px rgba(20, 254, 23, 0.35),
                 0 0 35px rgba(20, 254, 23, 0.12);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: var(--green-dark);
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
}

.scroll-arrow {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    color: var(--green-dark);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--green-dark);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--green);
    transition: height 0.4s;
}

.svc-card:hover::after {
    height: 100%;
    box-shadow: 0 0 10px var(--green-glow);
}

.svc-card:hover {
    border-color: var(--green-dim);
    background: rgba(20, 254, 23, 0.02);
    box-shadow: 0 0 20px rgba(20, 254, 23, 0.05);
}

.svc-icon {
    font-family: 'VT323', monospace;
    font-size: 2.2rem;
    color: var(--green);
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.7),
                 0 0 12px rgba(20, 254, 23, 0.35),
                 0 0 25px rgba(20, 254, 23, 0.1);
    margin-bottom: 1rem;
}

.svc-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.35rem;
    color: var(--green);
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.svc-desc {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.svc-link {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    color: var(--green-dim);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.svc-link:hover {
    color: var(--green);
    text-shadow: 0 0 8px var(--green-glow);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--green-dark);
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.2);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    border: 2px solid var(--green);
    background: var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(20, 254, 23, 0.4);
    margin-left: -4px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-date {
    font-family: 'VT323', monospace;
    font-size: 1rem;
    color: var(--green);
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.5);
    margin-bottom: 0.3rem;
}

.timeline-content {
    border: 1px solid var(--green-dark);
    background: var(--bg-card);
    padding: 1.2rem 1.5rem;
    transition: border-color 0.3s;
}

.timeline-content:hover {
    border-color: var(--green-dim);
}

.timeline-role {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--green);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.timeline-company {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--green-dim);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.about-text strong {
    color: var(--green);
    font-weight: 400;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.about-stat {
    border: 1px solid var(--green-dark);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.about-stat:hover {
    border-color: var(--green-dim);
}

.about-stat-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.about-stat-val {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    color: var(--green);
}

.about-skill {
    border: 1px solid var(--green-dark);
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
}

.about-skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.about-skill-name {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.about-skill-pct {
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    color: var(--green);
}

.about-skill-bar {
    width: 100%;
    height: 4px;
    background: var(--green-dark);
    position: relative;
}

.about-skill-fill {
    height: 100%;
    background: var(--green);
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                0 0 12px rgba(20, 254, 23, 0.3),
                0 0 25px rgba(20, 254, 23, 0.1);
    width: 0;
    transition: width 1.2s ease;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
}

.contact-form {
    border: 1px solid var(--green-dark);
    padding: 2.5rem;
    background: var(--bg-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-label {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--text);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.form-label::before {
    content: '>_ ';
    color: var(--green-dim);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg);
    border: 1px solid var(--green-dark);
    color: var(--green);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--green-dim);
    box-shadow: 0 0 10px rgba(20, 254, 23, 0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--green-dark);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230a8a0c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-select option {
    background: var(--bg);
    color: var(--green);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ci-card {
    border: 1px solid var(--green-dark);
    padding: 1.3rem 1.5rem;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.ci-card:hover {
    border-color: var(--green-dim);
}

.ci-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.ci-value {
    font-size: 0.88rem;
    color: var(--green-mid);
    line-height: 1.6;
}

.ci-value a {
    color: var(--green-mid);
    text-decoration: none;
    transition: color 0.3s;
}

.ci-value a:hover {
    color: var(--green);
    text-shadow: 0 0 8px var(--green-glow);
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--green-dark);
    margin-top: 4rem;
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--green);
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
}

.footer-col p,
.footer-col a {
    line-height: 1.8;
    color: var(--text);
}

.footer-col a {
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-bottom {
    max-width: 1280px;
    margin: 1.5rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 254, 23, 0.05);
    font-size: 0.7rem;
    color: var(--green-dark);
    text-align: center;
}

/* ===== PARTICLES ===== */
.particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    animation: particleFade 5s infinite;
}

@keyframes particleFade {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-80px); }
}

/* ===== FADE IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== AMBIENT HUM BAR ===== */
.hum-bar {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background: var(--green-dark);
    z-index: 9998;
    overflow: hidden;
}

.hum-bar-fill {
    height: 100%;
    background: var(--green);
    box-shadow: 0 0 4px rgba(20, 254, 23, 0.6),
                0 0 12px rgba(20, 254, 23, 0.3),
                0 0 25px rgba(20, 254, 23, 0.1);
    width: 0;
    animation: hum-pulse 3s ease-in-out infinite;
}

@keyframes hum-pulse {
    0%, 100% { width: 20%; opacity: 0.3; }
    50% { width: 80%; opacity: 0.6; }
}

/* ===== STATIC BURST ===== */
.static-burst {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.05s;
    background: repeating-linear-gradient(
        0deg,
        rgba(20, 254, 23, 0.03) 0px,
        transparent 2px,
        transparent 4px
    );
    mix-blend-mode: overlay;
}

.static-burst.active {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .services-grid, .about-grid, .contact-grid, .footer-inner {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .hero-illustration {
        width: 90%;
        right: -10%;
        opacity: 0.7;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, black 70%);
        mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, black 70%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(8, 12, 8, 0.98);
        border-bottom: 1px solid var(--green-dark);
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(20, 254, 23, 0.05);
    }
    .mobile-toggle { display: block; }
    .nav-logo-text { font-size: 1rem; letter-spacing: 4px; }
    .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-metrics { max-width: 100%; }
    .hero-title { font-size: 1.8rem; }
    .hero-title .cursor { height: 1.8rem; }
    .hero-metrics { gap: 1.5rem; }
    section { padding: 4rem 1rem 2rem; }
}

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

/* Honeypot - invisible to humans */
.honey-pot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Form status message */
.form-status {
    padding: 1rem 1.2rem;
    margin-top: 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid;
    display: none;
}

.form-status.success {
    display: block;
    color: var(--green);
    border-color: var(--green-dark);
    background: rgba(20, 254, 23, 0.05);
    text-shadow: 0 0 4px rgba(20, 254, 23, 0.4);
}

.form-status.error {
    display: block;
    color: var(--amber);
    border-color: rgba(254, 154, 20, 0.3);
    background: rgba(254, 154, 20, 0.05);
}

/* Inline field error messages */
.form-error {
    display: block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    color: var(--amber);
    letter-spacing: 1px;
    margin-top: 0.3rem;
    min-height: 0;
}

.form-error:empty {
    display: none;
}

/* Error state on inputs */
.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
    border-color: var(--amber) !important;
    box-shadow: 0 0 6px rgba(254, 154, 20, 0.15);
}

/* Button loading state */
.btn-loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}
