:root {
    --forest-dark: #0a1f0e;
    --forest-deep: #0e2a14;
    --forest-mid: #1a3b20;
    --lime-bright: #b5ff4b;
    --lime-glow: #d4ff7a;
    --lime-dark: #7fb82e;
    --text-light: #e8f0e6;
    --text-muted: #9abf92;
    --card-bg: rgba(20, 40, 24, 0.7);
    --border-glow: rgba(181, 255, 75, 0.3);
}

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

body {
    background: var(--forest-dark);
    background-image: radial-gradient(circle at 10% 20%, rgba(30, 70, 40, 0.2) 2%, transparent 2.5%),
                      radial-gradient(circle at 80% 70%, rgba(50, 100, 60, 0.15) 1%, transparent 1.5%);
    background-size: 50px 50px, 70px 70px;
    color: var(--text-light);
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    transition: background 0.2s;
}

/* ===== GLASS NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(10, 31, 14, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--lime-bright);
    box-shadow: 0 0 15px rgba(181, 255, 75, 0.1);
    z-index: 1000;
    padding: 0.8rem 2rem;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--lime-bright), #7fb82e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime-bright);
    box-shadow: 0 0 6px var(--lime-bright);
    transition: width 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 40%, #143018, #051007);
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: repeating-linear-gradient(45deg, rgba(181,255,75,0.02) 0px, rgba(181,255,75,0.02) 2px, transparent 2px, transparent 8px);
    animation: slowRotate 40s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(120deg, var(--lime-bright), var(--lime-glow));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(181,255,75,0.5);
}

.typing-container {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    min-height: 4rem;
    color: var(--lime-glow);
}

.cursor {
    animation: blink 1s step-end infinite;
}

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

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--lime-bright), var(--lime-dark));
    color: #0a1f0e;
    font-weight: bold;
    padding: 0.9rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 0 12px rgba(181,255,75,0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 20px rgba(181,255,75,0.8);
    background: linear-gradient(135deg, var(--lime-glow), var(--lime-bright));
}

/* ===== SKILL SECTION (Tooltips + glass cards) ===== */
.skills {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(10, 31, 14, 0.6);
    backdrop-filter: blur(4px);
    border-top: 1px solid var(--border-glow);
    border-bottom: 1px solid var(--border-glow);
}

.skills h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--lime-bright);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--border-glow);
    transition: all 0.25s;
    cursor: default;
    position: relative;
    color: var(--text-light);
}

.skill-card:hover {
    transform: translateY(-5px);
    background: var(--forest-mid);
    box-shadow: 0 0 15px var(--lime-bright);
    border-color: var(--lime-bright);
}

.skill-card[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #0a1f0e;
    color: var(--lime-bright);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    border: 1px solid var(--lime-bright);
    box-shadow: 0 0 8px black;
    z-index: 20;
}

/* ===== PROJECT CARDS (Glow + glass) ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 1.8rem;
    width: 320px;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(181,255,75,0.1), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

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

.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--lime-bright);
    box-shadow: 0 0 25px rgba(181,255,75,0.3);
}

.project-card h3 a {
    color: var(--lime-glow);
    text-decoration: none;
    font-size: 1.4rem;
}

.tech-stack {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.breadcrumbs a {
    color: var(--lime-bright);
    text-decoration: none;
}
.breadcrumbs span {
    color: var(--text-light);
}

/* ===== INTERACTIVE TABLE (Forest theme) ===== */
.filters {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.filters input, .filters select {
    background: var(--forest-deep);
    border: 1px solid var(--lime-dark);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 40px;
    font-size: 1rem;
}
#sales-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(20, 40, 24, 0.6);
    border-radius: 16px;
    overflow: hidden;
}
#sales-table th {
    background: var(--forest-mid);
    color: var(--lime-bright);
    padding: 12px;
    text-align: left;
}
#sales-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-glow);
}

/* ===== FOOTER ===== */
footer {
    background: #051007;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--lime-dark);
}
.footer-links a {
    color: var(--lime-bright);
    margin: 0 1rem;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10,31,14,0.95);
        width: 100%;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .bar {
        width: 28px;
        height: 3px;
        background: var(--lime-bright);
        border-radius: 2px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .typing-container {
        font-size: 1.2rem;
    }
    .project-card {
        width: 90%;
    }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOUSE GLOW EFFECT (optional) ===== */
.mouse-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(181,255,75,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear;
    display: none;
}

@media (min-width: 1024px) {
    .mouse-glow {
        display: block;
    }
}

.terminal-window {
    background: #0a0f0c;
    border-radius: 12px;
    border: 1px solid var(--lime-dark);
    box-shadow: 0 0 20px rgba(181,255,75,0.2);
    max-width: 700px;
    margin: 3rem auto;
    overflow: hidden;
    font-family: 'Fira Code', 'Courier New', monospace;
}
.terminal-header {
    background: #1e2a1e;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--lime-dark);
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.terminal-body {
    padding: 20px;
    color: #c3ff8c;
    font-size: 0.9rem;
    min-height: 200px;
}
.prompt {
    color: var(--lime-bright);
}
.cursor-block {
    background-color: var(--lime-bright);
    color: black;
    animation: blink 1s step-end infinite;
}

/* Interactive terminal additions */
.terminal-line {
    margin-bottom: 8px;
    white-space: pre-wrap;
    word-break: break-word;
}
.cmd-highlight {
    color: var(--lime-bright);
    background: rgba(181,255,75,0.2);
    padding: 0 4px;
    border-radius: 4px;
    font-weight: bold;
}
#terminal-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.terminal-body {
    cursor: text;
}
.terminal-body .prompt {
    color: var(--lime-bright);
    margin-right: 6px;
}
#current-input {
    color: white;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
}
footer a {
    color: #e67e22;   /* warm orange */
}
footer a:hover {
    color: #d35400;
    text-decoration: underline;
}