:root {
    --neon-cyan: #00fff2;
    --neon-purple: #b026ff;
    --neon-green: #39ff14;
    --bg-dark: #0a0a0a;
    --gradient-start: #00fff2;
    --gradient-end: #0066ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    font-family: 'JetBrains Mono', monospace;
    color: #ffffff;
    cursor: none;
    line-height: 1.6;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 242, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--neon-cyan);
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
}

.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 255, 242, 0.1);
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    transform-origin: 0%;
    z-index: 1000;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-top: 4rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
}

.typewriter {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.subtitle {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.explore {
    background: rgba(0, 255, 242, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.hero-btn.explore:hover {
    background: rgba(0, 255, 242, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 242, 0.4);
}

.hero-btn.connect {
    background: rgba(176, 38, 255, 0.1);
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
}

.hero-btn.connect:hover {
    background: rgba(176, 38, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--neon-cyan);
}

.section-subtitle {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about,
.skills-section,
.contact {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.skill-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 242, 0.1);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 255, 242, 0.1),
        rgba(176, 38, 255, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 242, 0.3);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-icon svg {
    width: 28px;
    height: 28px;
}

.skill-icon.cybersecurity {
    background: rgba(0, 255, 242, 0.1);
    color: var(--neon-cyan);
}

.skill-icon.webdev {
    background: rgba(176, 38, 255, 0.1);
    color: var(--neon-purple);
}

.skill-icon.automation {
    background: rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
}

.skill-icon.blockchain {
    background: rgba(0, 102, 255, 0.1);
    color: #0066ff;
}

.skill-icon.design {
    background: rgba(255, 64, 129, 0.1);
    color: #ff4081;
}

.skill-icon.ux {
    background: rgba(255, 171, 0, 0.1);
    color: #ffab00;
}

.skill-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.skill-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 6rem;
    }
    
    .typewriter {
        font-size: 2.5rem;
    }

    .hero-buttons {
        gap: 2rem;
    }

    .hero-btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.skills {
    margin-top: 2rem;
}

.skill {
    background: rgba(0, 255, 242, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 242, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.skill.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 242, 0.15);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-cyan);
}

.skill-level {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(0, 255, 242, 0.1);
    color: var(--neon-cyan);
}

.skill-level.expert {
    background: linear-gradient(135deg, rgba(0, 255, 242, 0.15), rgba(0, 102, 255, 0.15));
    border: 1px solid rgba(0, 255, 242, 0.2);
}

.skill-level.advanced {
    background: linear-gradient(135deg, rgba(0, 255, 242, 0.1), rgba(57, 255, 20, 0.1));
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.skill-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-description {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-top: 1rem;
    line-height: 1.5;
}

.timeline {
    border-left: 2px solid var(--neon-cyan);
    padding-left: 2rem;
    margin-top: 2rem;
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: var(--neon-cyan);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px solid rgba(0, 255, 242, 0.3);
    border-radius: 0.5rem;
    color: white;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
}

.submit-btn {
    padding: 0.75rem 2rem;
    background: rgba(0, 255, 242, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: rgba(0, 255, 242, 0.2);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(0, 255, 242, 0.1);
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 255, 242, 0.1);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 255, 242, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: pulse 2s infinite;
}

.back-to-top:hover {
    background: rgba(0, 255, 242, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 242, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 242, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 242, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 242, 0);
    }
}

@keyframes neonPulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.glitch {
    position: relative;
    animation: glitch 1s linear infinite;
}

@keyframes glitch {
    2%, 64% { transform: translate(2px, 0) skew(0deg); }
    4%, 60% { transform: translate(-2px, 0) skew(0deg); }
    62% { transform: translate(0, 0) skew(5deg); }
}

.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 242, 0.2);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: var(--neon-cyan);
    bottom: -8px;
    left: 30%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.footer-text {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 242, 0.2),
        transparent
    );
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

.footer-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.footer-skills span {
    color: #666;
}

.footer-skills span:nth-child(odd) {
    color: var(--neon-cyan);
    opacity: 0.7;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-skills {
        gap: 1rem;
    }
}

.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease;
}

.notification.success {
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 242, 0.3);
}

.notification.error {
    border: 2px solid #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.notification p {
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.notification-close {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.notification-close:hover {
    transform: scale(1.1);
}

.notification.fade-out {
    transform: translateY(-100%);
    opacity: 0;
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}