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

body {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

#pcb-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

#binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.binary-digit {
    position: absolute;
    color: #00ff88;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    from {
        transform: translateY(-100px);
        opacity: 0.8;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ff6b35;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00ff88;
}

main {
    margin-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid #ff6b35;
    border-radius: 15px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.profile-info h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffcc02);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.profile-info h2 {
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #cccccc;
    margin-bottom: 1rem;
}

.location {
    color: #888888;
    font-style: italic;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn.primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-color: #ff6b35;
    color: #ffffff;
}

.btn.primary:hover {
    background: linear-gradient(45deg, #f7931e, #ffcc02);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.btn.secondary {
    background: transparent;
    border-color: #00ff88;
    color: #00ff88;
}

.btn.secondary:hover {
    background: #00ff88;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

section {
    padding: 4rem 0;
    position: relative;
}

section:not(#hero) {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

h2 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #cccccc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(16, 33, 62, 0.8);
    border: 1px solid #00ff88;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.service-card h3 {
    color: #00ff88;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.experience-item {
    background: rgba(16, 33, 62, 0.6);
    border-left: 4px solid #ff6b35;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.experience-item h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.company {
    color: #00ff88;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.duration {
    color: #888888;
    font-style: italic;
    margin-bottom: 1rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(16, 33, 62, 0.6);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.contact-item strong {
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #00ff88;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

footer {
    background: rgba(10, 10, 10, 0.9);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #ff6b35;
}

.pcb-trace {
    position: absolute;
    background: #00ff88;
    border-radius: 1px;
    opacity: 0;
    box-shadow: 0 0 10px #00ff88;
}

.pcb-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.trace-animation {
    animation: trace-flow 3s linear infinite;
}

@keyframes trace-flow {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #00ff88;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }
    
    section:not(#hero) {
        margin: 1rem 0.25rem;
        padding: 2rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        border-top: 1px solid #ff6b35;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        animation: slideIn 0.3s ease forwards;
    }
    
    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
    
    @keyframes slideIn {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        margin: 0 0.5rem;
    }
}