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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(95, 126, 156, 0.2);
    z-index: 100;
    padding: 1rem 0;
}

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

.logo-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #5f7e9c;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: #7ba4d4;
    text-shadow: 0 0 10px rgba(123, 164, 212, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cccccc;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #5f7e9c;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5f7e9c, #7ba4d4);
    transition: width 0.3s ease;
}

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

/* Main Content Styles */
.main-content {
    flex: 1;
    position: relative;
    z-index: 2;
    margin-top: 80px;
    padding: 2rem 0;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #5f7e9c;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(95, 126, 156, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
    font-weight: 400;
}

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

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, #5f7e9c, #7ba4d4);
    border-color: #5f7e9c;
    color: #ffffff;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(95, 126, 156, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border-color: #5f7e9c;
    color: #5f7e9c;
}

.cta-button.secondary:hover {
    background: rgba(95, 126, 156, 0.1);
    transform: translateY(-2px);
}

.arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

/* Projects Grid */
.projects-grid {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(95, 126, 156, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(95, 126, 156, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(95, 126, 156, 0.4);
    box-shadow: 0 10px 30px rgba(95, 126, 156, 0.2);
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #5f7e9c;
    margin-bottom: 1rem;
}

.project-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-link {
    color: #7ba4d4;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #5f7e9c;
}

.project-status {
    display: inline-block;
    background: rgba(95, 126, 156, 0.2);
    color: #5f7e9c;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Footer Styles */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(95, 126, 156, 0.2);
    margin-top: auto;
    position: relative;
    z-index: 100;
}

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

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

.footer-section h4 {
    color: #5f7e9c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #5f7e9c;
}

.footer-bottom {
    border-top: 1px solid rgba(95, 126, 156, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 0.9rem;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #5f7e9c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-dot {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: #5f7e9c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        padding: 0 1rem;
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .custom-cursor,
    .cursor-dot {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
} 