/* Tech-Focused Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    /* Dark Tech Colors */
    --bg-dark: #0a0e27;
    --bg-darker: #050816;
    --bg-card: rgba(20, 25, 47, 0.8);
    --primary-neon: #00ff88;
    --secondary-neon: #00d4ff;
    --accent-purple: #a855f7;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Neon Glows */
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
    --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '< ';
    color: var(--primary-neon);
}

.section-title::after {
    content: ' />';
    color: var(--primary-neon);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-neon);
    font-family: 'JetBrains Mono', monospace;
    text-shadow: var(--glow-green);
}

.brand-text::before {
    content: '{ ';
    color: var(--secondary-neon);
}

.brand-text::after {
    content: ' }';
    color: var(--secondary-neon);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: '>';
    margin-right: 0.5rem;
    color: var(--primary-neon);
    opacity: 0;
    transition: var(--transition);
}

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

.nav-link:hover {
    color: var(--primary-neon);
    text-shadow: var(--glow-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-neon);
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: var(--glow-green);
}

/* Hero Section */
.hero {
    padding: 140px 20px 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: visible;
}

/* Animated Particles */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--primary-neon) 1px, transparent 1px),
        radial-gradient(circle, var(--secondary-neon) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 40px 60px;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(100px); }
}

.hero-content {
    flex: 1;
    max-width: 780px;
    z-index: 2;
    position: relative;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-greeting {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: 'JetBrains Mono', monospace;
}

.hero-greeting::before {
    content: '$ ';
    color: var(--primary-neon);
    text-shadow: var(--glow-green);
}

.hero-role {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-neon) 50%, var(--secondary-neon) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    border-left: 3px solid var(--primary-neon);
    padding-left: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 800px;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    animation: scan 2s linear infinite;
}

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

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

.stat-card.builders-club {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(168, 85, 247, 0.05));
}

.stat-card.builders-club:hover {
    border-color: #ffd700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.stat-sublabel {
    font-size: 0.7rem;
    color: #ffd700;
    font-family: 'JetBrains Mono', monospace;
    margin-top: 0.25rem;
    font-weight: 600;
}

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

/* Personal Interests Section */
.hero-visual {
    position: relative;
    flex-shrink: 0;
    width: 500px;
    max-width: 500px;
}

.interests-container {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
    overflow: visible;
}

.interests-title {
    color: var(--primary-neon);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: var(--glow-green);
}

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

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    transition: var(--transition);
    cursor: help;
    position: relative;
}

.interest-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary-neon);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

/* Custom Tooltip (JS-based) */
.custom-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(10, 14, 39, 0.98);
    border: 2px solid var(--primary-neon);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    line-height: 1.7;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    box-shadow: 0 20px 80px rgba(0, 255, 136, 0.6);
    backdrop-filter: blur(20px);
}

.custom-tooltip::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

.custom-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.interest-icon {
    font-size: 2.2rem;
    filter: drop-shadow(var(--glow-green));
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

/* Individual icon animations */
.interest-item:nth-child(1) .interest-icon { /* Cats */
    animation: bounce 2s ease-in-out infinite;
}

.interest-item:nth-child(2) .interest-icon { /* Wine */
    animation: sway 3s ease-in-out infinite;
}

.interest-item:nth-child(3) .interest-icon { /* Piano */
    animation: wiggle 2.5s ease-in-out infinite;
}

.interest-item:nth-child(4) .interest-icon { /* Books */
    animation: flip 4s ease-in-out infinite;
}

.interest-item:nth-child(5) .interest-icon { /* Swimming */
    animation: wave 2s ease-in-out infinite;
}

.interest-item:nth-child(6) .interest-icon { /* Tennis */
    animation: bounce 1.8s ease-in-out infinite;
}

.interest-item:nth-child(7) .interest-icon { /* Soccer */
    animation: spin 8s linear infinite;
}

.interest-item:nth-child(8) .interest-icon { /* Coffee */
    animation: steam 2s ease-in-out infinite;
}

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

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

@keyframes flip {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

@keyframes wave {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.05); }
}

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

@keyframes steam {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-3px); opacity: 0.8; }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.interest-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    color: var(--bg-dark);
    box-shadow: var(--glow-green);
    border: 1px solid var(--primary-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--primary-neon);
    border: 2px solid var(--primary-neon);
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: var(--glow-green);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Card */
.category-card {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.3);
    transform: translateY(-5px);
}

.category-card.active {
    border-color: var(--primary-neon);
    box-shadow: 0 10px 50px rgba(0, 255, 136, 0.4);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.category-icon {
    font-size: 3rem;
    filter: drop-shadow(var(--glow-green));
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-info h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.category-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.expand-indicator {
    font-size: 2rem;
    color: var(--primary-neon);
    font-weight: 300;
    transition: var(--transition);
    font-family: 'JetBrains Mono', monospace;
}

.category-card.active .expand-indicator {
    transform: rotate(45deg);
}

/* Expanded Category Content */
.category-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card.active .category-expanded {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1.5rem;
}

.mini-projects {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-project {
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid var(--primary-neon);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.mini-project.clickable {
    cursor: pointer;
}

.mini-project.clickable::after {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-neon);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.mini-project.clickable:hover::after {
    opacity: 1;
    right: 0.75rem;
}

.mini-project:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(5px);
    border-color: var(--secondary-neon);
}

.mini-project strong {
    color: var(--text-light);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
}

.mini-project p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-family: 'JetBrains Mono', monospace;
}

.mini-project .badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

.mini-project .badge.champion {
    background: var(--primary-neon);
    color: var(--bg-dark);
}

.mini-project .badge.active {
    background: rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
}

/* Project Detail Modal */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: rgba(20, 25, 47, 0.98);
    border: 2px solid var(--primary-neon);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 80px rgba(0, 255, 136, 0.5);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--primary-neon);
    transform: rotate(90deg);
}

.modal-body h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    border: none;
}

.modal-body .project-role {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid var(--primary-neon);
    border-radius: 8px;
    color: var(--primary-neon);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1.5rem;
}

.modal-body .project-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.modal-body .detail-section {
    margin: 2rem 0;
}

.modal-body .detail-section h3 {
    color: var(--primary-neon);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    padding-bottom: 0.5rem;
}

.modal-body .detail-list {
    list-style: none;
    padding: 0;
}

.modal-body .detail-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-muted);
    position: relative;
    line-height: 1.6;
}

.modal-body .detail-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-neon);
    font-weight: bold;
}

.modal-body .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.modal-body .tech-stack span {
    padding: 6px 14px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--secondary-neon);
    font-family: 'JetBrains Mono', monospace;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(0, 255, 136, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-neon);
    box-shadow: 0 8px 40px rgba(0, 255, 136, 0.2);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-header h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 700;
}

.project-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--secondary-neon);
    font-family: 'JetBrains Mono', monospace;
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(0, 212, 255, 0.2);
    box-shadow: var(--glow-blue);
}

.project-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.metric {
    flex: 1;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'JetBrains Mono', monospace;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Skills & Technologies Section */
.skills {
    padding: 100px 0;
    background: var(--bg-dark);
}

.tech-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-section {
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.15);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.tech-section:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
    transform: translateY(-5px);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    filter: drop-shadow(var(--glow-green));
}

.tech-header h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 0;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--secondary-neon);
    font-family: 'JetBrains Mono', monospace;
    transition: var(--transition);
    cursor: default;
}

.tech-badge:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--secondary-neon);
    box-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

/* Impact Section */
.impact {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.impact-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.impact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    transform: scaleX(0);
    transition: var(--transition);
}

.impact-card:hover::after {
    transform: scaleX(1);
}

.impact-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 50px rgba(0, 255, 136, 0.2);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(var(--glow-green));
}

.impact-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.impact-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-darker);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-light);
    font-family: 'JetBrains Mono', monospace;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-link span {
    font-size: 1.3rem;
}

.contact-link:hover {
    border-color: var(--primary-neon);
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow-green);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-darker);
}

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

.footer-simple h3 {
    color: var(--text-light);
    font-size: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-neon);
    border-radius: 5px;
    box-shadow: var(--glow-green);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-neon);
}

/* Selection Styling */
::selection {
    background: rgba(0, 255, 136, 0.3);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-top: 1px solid rgba(0, 255, 136, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-role {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-visual {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 3rem;
    }
    
    .interests-container {
        padding: 1.5rem;
    }
    
    .interests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .interest-icon {
        font-size: 1.8rem;
    }
    
    .interest-label {
        font-size: 0.75rem;
    }
    
    .interest-item::after {
        max-width: 250px;
        font-size: 0.7rem;
        padding: 0.6rem 0.8rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .category-info h3 {
        font-size: 1.2rem;
    }
    
    .tech-sections {
        grid-template-columns: 1fr;
    }
    
    .tech-section {
        padding: 1.5rem;
    }
    
    .tech-icon {
        font-size: 2rem;
    }
    
    .tech-header h3 {
        font-size: 1.2rem;
    }
    
    .tech-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Glitch Effect on Hover (optional enhancement) */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.hero-role:hover {
    animation: glitch 0.3s;
}

/* Professional Journey Section - Projectile Arc */
.journey {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    min-height: 800px;
}

.journey-path {
    position: relative;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    padding: 2rem;
}

/* SVG Projectile Path */
.path-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.path-line::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 3%;
    width: 88%;
    height: 85%;
    border: 3px dashed rgba(0, 255, 136, 0.3);
    border-right: none;
    border-bottom: none;
    border-top: 4px solid var(--primary-neon);
    border-left: 4px solid var(--primary-neon);
    border-radius: 100% 0 0 0 / 100% 0 0 0;
    border-top-left-radius: 100%;
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
    transform: scaleY(0.85);
}

.path-line::after {
    content: '🚀';
    position: absolute;
    font-size: 3.5rem;
    left: 84%;
    bottom: 80%;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.8)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
    animation: rocketGlow 2s ease-in-out infinite, rocketFloat 3s ease-in-out infinite;
    z-index: 100;
}

/* Rocket trail particles */
.journey-path::before {
    content: '✦ ✦ ✦';
    position: absolute;
    left: 81%;
    bottom: 77%;
    font-size: 1.2rem;
    color: var(--primary-neon);
    opacity: 0.6;
    animation: trailFade 1.5s ease-in-out infinite;
    z-index: 99;
}

@keyframes trailFade {
    0% {
        opacity: 0.8;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20px) translateY(20px);
    }
}

/* Journey Node - Compact Card */
.journey-node {
    position: absolute;
    cursor: pointer;
    transition: var(--transition);
}

/* Positioning along projectile arc - ascending trajectory */
.journey-node[data-year="2011"] { left: 3%; bottom: 5%; }
.journey-node[data-year="2014"] { left: 13%; bottom: 22%; }
.journey-node[data-year="2017"] { left: 24%; bottom: 40%; }
.journey-node[data-year="2019"] { left: 36%; bottom: 56%; }
.journey-node[data-year="2020"] { left: 48%; bottom: 68%; }
.journey-node[data-year="2021a"] { left: 60%; bottom: 75%; }
.journey-node[data-year="2021b"] { left: 72%; bottom: 78%; }
.journey-node[data-year="2023"] { left: 84%; bottom: 80%; } /* PEAK - Current role */

.node-compact {
    width: 120px;
    background: var(--bg-card);
    border: 2px solid rgba(0, 255, 136, 0.2);
    border-radius: 12px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.journey-node:hover .node-compact {
    transform: translateY(-8px);
    border-color: var(--primary-neon);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.journey-node.active .node-compact {
    border-color: var(--primary-neon);
    background: rgba(20, 25, 47, 0.98);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.journey-node.shopify .node-compact {
    border-color: rgba(149, 191, 71, 0.3);
}

.journey-node.shopify.active .node-compact {
    border-color: #95BF47;
    box-shadow: 0 0 30px rgba(149, 191, 71, 0.5);
}

.journey-node.current .node-compact {
    animation: currentGlow 2s ease-in-out infinite;
}

@keyframes currentGlow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    }
    50% {
        box-shadow: 0 10px 40px rgba(0, 255, 136, 0.7);
    }
}

.node-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
}

.node-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.node-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    line-height: 1.3;
    font-family: 'JetBrains Mono', monospace;
}

.node-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-neon);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--glow-green);
    z-index: -1;
}

.node-dot.pulsing {
    animation: nodePulse 2s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% {
        box-shadow: var(--glow-green);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 136, 0.9);
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes rocketGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 136, 1)) drop-shadow(0 0 40px rgba(0, 212, 255, 0.8));
    }
}

@keyframes rocketFloat {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    50% {
        transform: rotate(45deg) translateY(-10px);
    }
}

/* Centered Modal Panel */
.node-expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    background: rgba(20, 25, 47, 0.98);
    border: 2px solid var(--primary-neon);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 80px rgba(0, 255, 136, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.journey-node.active .node-expanded {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Dark backdrop when modal is open */
.node-expanded::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.journey-node.active .node-expanded::after {
    opacity: 1;
}

.expanded-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: start;
}

.expanded-icon {
    font-size: 3rem;
    filter: drop-shadow(var(--glow-green));
}

.expanded-header h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.expanded-company {
    color: var(--primary-neon);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.expanded-period {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--secondary-neon);
    font-family: 'JetBrains Mono', monospace;
}

.expanded-period.current-badge {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--primary-neon);
    color: var(--primary-neon);
    animation: glow-badge 2s ease-in-out infinite;
}

@keyframes glow-badge {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    }
}

.expanded-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.case-study-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 18px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--secondary-neon);
    border-radius: 8px;
    color: var(--secondary-neon);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.case-study-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
    box-shadow: var(--glow-blue);
}

.expanded-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.expanded-highlights div {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.6rem 0.8rem;
    background: rgba(0, 255, 136, 0.05);
    border-left: 3px solid var(--primary-neon);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.expanded-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.expanded-tags span {
    padding: 5px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent-purple);
    font-family: 'JetBrains Mono', monospace;
}

/* Close button for modal */
.node-expanded .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: 10;
}

.node-expanded .close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: var(--primary-neon);
}

/* Responsive Journey */
@media (max-width: 1024px) {
    .journey-path {
        height: 500px;
    }
    
    .journey-node[data-year="2011"] { left: 5%; bottom: 8%; }
    .journey-node[data-year="2014"] { left: 15%; bottom: 24%; }
    .journey-node[data-year="2017"] { left: 27%; bottom: 42%; }
    .journey-node[data-year="2019"] { left: 40%; bottom: 58%; }
    .journey-node[data-year="2020"] { left: 52%; bottom: 70%; }
    .journey-node[data-year="2021a"] { left: 63%; bottom: 76%; }
    .journey-node[data-year="2021b"] { left: 73%; bottom: 79%; }
    .journey-node[data-year="2023"] { left: 84%; bottom: 80%; }
    
    .path-line::after {
        left: 84%;
        bottom: 80%;
    }
}

@media (max-width: 768px) {
    .journey {
        padding: 80px 0;
        min-height: 700px;
    }
    
    .journey-path {
        height: 550px;
    }
    
    .path-line::before {
        width: 90%;
        left: 5%;
    }
    
    .path-line::after {
        font-size: 3rem;
        left: 84%;
        bottom: 80%;
    }
    
    .journey-path::before {
        left: 81%;
        bottom: 77%;
        font-size: 1rem;
    }
    
    .node-compact {
        width: 90px;
        padding: 0.8rem 0.4rem;
    }
    
    .node-icon {
        font-size: 2.2rem;
    }
    
    .node-title {
        font-size: 0.7rem;
    }
    
    .node-year {
        font-size: 0.65rem;
    }
    
    .node-expanded {
        width: 95vw;
        max-height: 85vh;
        padding: 1.5rem;
    }
    
    .expanded-highlights {
        grid-template-columns: 1fr;
    }
    
    .expanded-icon {
        font-size: 2.5rem;
    }
    
    .expanded-header h3 {
        font-size: 1.2rem;
    }
}
