:root {
    --neon: #00f2ff;
    --neon-glow: rgba(0, 242, 255, 0.3);
    --warm-gold: #ffaa00;
    --gold-glow: rgba(255, 170, 0, 0.2);
    --bg-dark: #020205;
    --bg-dark-alt: #0a0a0f;
    --glass: rgba(10, 20, 35, 0.85);
    --glass-light: rgba(20, 30, 50, 0.6);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-bright: rgba(0, 242, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

#background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.theme-selector {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: row;
    gap: 12px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.theme-btn {
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-btn:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--neon);
    transform: scale(1.1);
}

.theme-btn.active {
    background: var(--neon);
    border-color: var(--neon);
    box-shadow: 0 0 20px var(--neon-glow);
}

.bg-theme-stars {
    background-color: transparent;
    background-image: 
        radial-gradient(circle, white 1px, transparent 1px),
        radial-gradient(circle, white 0.5px, transparent 0.5px),
        radial-gradient(circle, rgba(0, 242, 255, 1) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(255, 170, 0, 1) 1px, transparent 1px),
        radial-gradient(circle, white 0.8px, transparent 0.8px),
        radial-gradient(circle, rgba(0, 242, 255, 0.8) 0.5px, transparent 0.5px),
        radial-gradient(circle, white 1.2px, transparent 1.2px);
    background-size: 300px 300px, 200px 200px, 400px 400px, 350px 350px, 250px 250px, 180px 180px, 320px 320px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px, 200px 150px, 300px 50px, 150px 200px;
    opacity: 0.7;
    animation: twinkleStars 8s ease-in-out infinite;
}

.bg-theme-stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.8) 0.5px, transparent 0.5px),
        radial-gradient(circle, rgba(0, 242, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 170, 0, 0.6) 0.8px, transparent 0.8px);
    background-size: 220px 220px, 280px 280px, 190px 190px;
    background-position: 50px 80px, 180px 120px, 90px 200px;
    animation: twinkleStars 6s ease-in-out infinite reverse;
}

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

.bg-theme-nebula {
    background: 
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(0, 242, 255, 0.35) 0%, rgba(0, 242, 255, 0.15) 30%, transparent 70%),
        radial-gradient(ellipse 900px 700px at 80% 70%, rgba(255, 170, 0, 0.3) 0%, rgba(255, 170, 0, 0.12) 35%, transparent 75%),
        radial-gradient(ellipse 700px 800px at 50% 50%, rgba(157, 0, 255, 0.25) 0%, rgba(157, 0, 255, 0.1) 40%, transparent 80%),
        radial-gradient(circle 500px at 60% 20%, rgba(0, 255, 119, 0.2) 0%, rgba(0, 255, 119, 0.08) 45%, transparent 70%),
        radial-gradient(ellipse 600px 400px at 10% 80%, rgba(255, 0, 150, 0.15) 0%, transparent 60%);
    background-attachment: fixed;
    opacity: 1;
    animation: nebulaFloat 25s ease-in-out infinite;
}

.bg-theme-nebula::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 300px at 70% 40%, rgba(0, 242, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle 400px at 30% 60%, rgba(255, 170, 0, 0.12) 0%, transparent 65%);
    animation: nebulaPulse 8s ease-in-out infinite;
}

@keyframes nebulaFloat {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1);
    }
    50% {
        filter: hue-rotate(15deg) brightness(1.2);
    }
}

@keyframes nebulaPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.bg-theme-matrix {
    background-color: transparent;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.15) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.15) 2px, transparent 2px),
        linear-gradient(rgba(0, 242, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 170, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 170, 0, 0.1) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px, 40px 40px, 40px 40px;
    background-position: 0 0, 0 0, 0 0, 0 0, 10px 10px, 10px 10px;
    opacity: 1;
    animation: matrixScroll 25s linear infinite;
}

.bg-theme-matrix::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle 600px at 25% 35%, rgba(0, 242, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle 700px at 75% 65%, rgba(255, 170, 0, 0.1) 0%, transparent 65%),
        radial-gradient(circle 400px at 50% 80%, rgba(0, 242, 255, 0.08) 0%, transparent 55%);
    animation: pulseGlow 5s ease-in-out infinite;
}

.bg-theme-matrix::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, 
            transparent, 
            transparent 2px, 
            rgba(0, 242, 255, 0.03) 2px, 
            rgba(0, 242, 255, 0.03) 4px);
    animation: scanlines 8s linear infinite;
}

@keyframes matrixScroll {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0, 10px 10px, 10px 10px;
    }
    100% {
        background-position: 80px 80px, -80px 80px, 20px 20px, -20px 20px, 50px 50px, -30px 50px;
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        opacity: 0.4; 
    }
    50% { 
        opacity: 0.8; 
    }
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

.bg-theme-none {
    background: transparent;
    opacity: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo .glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--neon);
    text-shadow: 0 0 20px var(--neon-glow);
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00de;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(61px, 9999px, 88px, 0); }
    20% { clip: rect(29px, 9999px, 3px, 0); }
    40% { clip: rect(99px, 9999px, 53px, 0); }
    60% { clip: rect(41px, 9999px, 14px, 0); }
    80% { clip: rect(10px, 9999px, 76px, 0); }
    100% { clip: rect(65px, 9999px, 29px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(86px, 9999px, 37px, 0); }
    20% { clip: rect(17px, 9999px, 95px, 0); }
    40% { clip: rect(55px, 9999px, 12px, 0); }
    60% { clip: rect(91px, 9999px, 68px, 0); }
    80% { clip: rect(23px, 9999px, 44px, 0); }
    100% { clip: rect(72px, 9999px, 8px, 0); }
}

.nav-links {
    display: flex;
    gap: 40px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--neon);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon);
}

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

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#experience-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#experience-container canvas {
    pointer-events: auto;
}

.hero-overlay {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
}

.status-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--warm-gold);
    padding: 8px 20px;
    border: 1px solid var(--warm-gold);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.title-line {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 10px;
    background: linear-gradient(135deg, var(--neon) 0%, var(--warm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--neon-glow);
    animation: titleAppear 1s ease-out;
}

.title-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--text-secondary);
}

@keyframes titleAppear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-primary,
.cta-secondary {
    padding: 18px 40px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--neon);
    color: #000;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.cta-primary:hover {
    background: var(--warm-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.cta-secondary {
    background: transparent;
    color: var(--neon);
    border: 2px solid var(--neon);
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.cta-secondary:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 10px 30px var(--neon-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon), transparent);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(10px); }
}

section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--warm-gold);
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--neon) 0%, var(--warm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.about-section {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--glass-light);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--neon);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--neon-glow);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--neon);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.highlight-card {
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--warm-gold);
    transform: translateX(10px);
    box-shadow: -5px 0 20px var(--gold-glow);
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--neon);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.expertise-section {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.6) 50%, transparent 100%);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.expertise-category {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.expertise-category:hover {
    border-color: var(--neon);
    box-shadow: 0 10px 40px var(--neon-glow);
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--warm-gold);
    margin-bottom: 25px;
    letter-spacing: 1px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: inline-block;
    font-size: 0.85rem;
    padding: 8px 16px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--neon);
    transform: translateY(-2px);
}

.timeline-wrapper {
    margin-top: 100px;
}

.timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--warm-gold);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--neon), var(--warm-gold));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon);
    margin-bottom: 10px;
}

.timeline-company {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--warm-gold);
    margin-bottom: 5px;
}

.timeline-role {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--neon);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px var(--neon-glow);
    z-index: 10;
}

.portfolio-section {
    background: rgba(2, 2, 5, 0.7);
    padding-bottom: 0;
}

.portfolio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 40px;
}

.view-toggle {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.toggle-btn {
    padding: 12px 30px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--neon);
    color: #000;
}

.toggle-btn:not(.active):hover {
    background: rgba(0, 242, 255, 0.1);
    color: var(--neon);
}

.timeline-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.portfolio-3d-help {
    text-align: center;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 4px;
}

.portfolio-3d-help span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.phase-item {
    padding: 12px 25px;
    font-size: 0.85rem;
    background: var(--glass-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.phase-item:hover,
.phase-item.active {
    background: rgba(255, 170, 0, 0.1);
    border-color: var(--warm-gold);
    color: var(--warm-gold);
}

.portfolio-3d-view {
    position: relative;
    height: 800px;
    display: none;
    width: 100%;
}

.portfolio-3d-view.active {
    display: block;
}

.portfolio-3d-view canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.portfolio-grid-view {
    display: none;
    padding: 60px 0;
}

.portfolio-grid-view.active {
    display: block;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--neon);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px var(--neon-glow);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(255, 170, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.project-card-content {
    padding: 30px;
}

.project-card-category {
    font-size: 0.75rem;
    color: var(--warm-gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.project-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.project-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.project-card-year {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.achievements-section {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.7) 50%, transparent 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.achievement-card {
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--neon), var(--warm-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-card:hover {
    border-color: var(--neon);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--neon-glow);
}

.achievement-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.achievement-icon {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0;
}

.achievement-title-wrapper {
    flex: 1;
}

.achievement-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--neon);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.achievement-tagline {
    font-size: 0.9rem;
    color: var(--warm-gold);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.achievement-status {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: 700;
}

.achievement-status.production {
    background: rgba(0, 255, 119, 0.1);
    border: 1px solid rgba(0, 255, 119, 0.3);
    color: #00ff77;
}

.achievement-status.beta {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    color: var(--warm-gold);
}

.achievement-status.development {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--neon);
}

.achievement-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.achievement-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.achievement-features {
    margin: 25px 0;
}

.achievement-features h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: var(--warm-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.achievement-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.achievement-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon);
    font-weight: 700;
}

.achievement-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.achievement-stack .skill-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(0, 242, 255, 0.08);
    border: 1px solid var(--border-bright);
}

.achievement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    margin-top: 25px;
}

.achievement-year {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
}

.achievement-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--neon);
    color: var(--neon);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}

.achievement-link:hover {
    background: var(--neon);
    color: #000;
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--neon-glow);
}

.achievement-link::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.achievement-link:hover::after {
    transform: translateX(3px);
}

.clients-section {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.client-category {
    padding: 40px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.client-category:hover {
    border-color: var(--warm-gold);
    transform: translateY(-5px);
}

.client-category h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--neon);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.client-category p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-section {
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.8) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--neon);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--glass-light);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--neon);
    background: rgba(0, 242, 255, 0.1);
    transform: translateX(10px);
}

.method-icon {
    font-size: 1.5rem;
}

.method-text {
    font-size: 1rem;
}

.contact-form-wrapper {
    padding: 50px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neon);
    box-shadow: 0 0 20px var(--neon-glow);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-submit {
    padding: 18px 40px;
    background: var(--neon);
    border: none;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--warm-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.footer {
    background: rgba(2, 2, 5, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-brand .glitch {
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

.footer-links a:hover {
    color: var(--neon);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

/* Founder section styles */
.founder-section {
    padding: 120px 0;
    background: rgba(10, 20, 35, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

.founder-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-top: 60px;
}

.founder-bio .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.founder-bio p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.founder-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 40px 0;
}

.highlight-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--glass-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--neon);
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--neon-glow);
}

.highlight-item .highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.founder-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.mini-timeline {
    background: var(--glass-light);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.mini-timeline-item {
    padding: 25px 0;
    border-left: 3px solid var(--neon);
    padding-left: 25px;
    position: relative;
    margin-bottom: 20px;
}

.mini-timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 30px;
    width: 13px;
    height: 13px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-glow);
}

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

.mini-year {
    font-family: 'Orbitron', sans-serif;
    color: var(--warm-gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.mini-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.mini-company {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Product status filter */
.product-status-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.status-filter-btn {
    padding: 12px 24px;
    background: var(--glass-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-filter-btn:hover {
    border-color: var(--neon);
    color: var(--neon);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.2);
}

.status-filter-btn.active {
    background: var(--neon);
    color: var(--bg-dark);
    border-color: var(--neon);
    box-shadow: 0 0 20px var(--neon-glow);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--neon);
    font-size: 1.5rem;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--glass-light);
    border-color: var(--neon);
}

.glass-panel {
    position: fixed;
    right: -500px;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--glass);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-bright);
    padding: 40px;
    transition: right 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.glass-panel.active {
    right: 40px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

#p-category {
    font-size: 0.75rem;
    color: var(--warm-gold);
    letter-spacing: 2px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: var(--neon);
    transform: rotate(90deg);
}

#p-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--neon);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.app-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.1), rgba(255, 170, 0, 0.1));
    margin: 20px 0;
    border: 1px solid var(--border-bright);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview::after {
    content: 'PREVIEW_NOT_AVAILABLE';
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

#p-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
}

.project-details {
    margin: 25px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--neon);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 700;
}

.stack-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    padding: 6px 14px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--neon);
}

.tag img {
    width: 14px;
    height: 14px;
    filter: invert(1);
    margin-right: 8px;
    opacity: 0.8;
}

.action-btn {
    display: block;
    margin-top: 30px;
    padding: 18px 30px;
    background: var(--neon);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--warm-gold);
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--gold-glow);
}

@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
    
    .achievements-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--glass);
        backdrop-filter: blur(30px);
        border-right: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 30px 0;
        transition: left 0.4s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        padding: 18px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .title-line {
        font-size: 3.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-3d-view {
        height: 500px;
    }
    
    .portfolio-3d-help {
        font-size: 0.75rem;
        padding: 10px;
    }
    
    .portfolio-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .theme-selector {
        bottom: 20px;
        right: 20px;
        padding: 10px 14px;
        gap: 10px;
    }
    
    .theme-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .glass-panel {
        width: 90%;
        right: -100%;
    }
    
    .glass-panel.active {
        right: 5%;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding-top: 100px;
        min-height: 100vh;
        height: auto;
    }
    
    .hero-overlay {
        padding: 60px 20px 40px;
    }
    
    .title-line {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .title-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .projects-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 50px;
    }
    
    .timeline-item .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .theme-selector {
        bottom: 15px;
        right: 50%;
        transform: translateX(50%);
        padding: 8px 12px;
        gap: 8px;
    }
    
    .theme-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .nav-links {
        width: 100%;
        left: -100%;
    }
    
    .nav-links.active {
        left: 0;
    }
}
