:root {
    --primary-color: #00ff9d;
    --secondary-color: #00ffff;
    --text-color: #ffffff;
    --background-color: #0a0a0a;
    --secondary-background: #1a1a1a;
    --accent-color: #ff00ff;
    --card-background: rgba(26, 26, 26, 0.8);
    --gradient-1: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    --gradient-2: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

main, .container {
    flex: 1 0 auto;
    min-height: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    padding-bottom: 4rem;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
    animation: scanline 4s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%);
}

h1 {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--primary-color);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

h1::before {
    content: '>';
    position: absolute;
    left: -30px;
    color: var(--primary-color);
    opacity: 0.5;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-background);
    border: 1px solid rgba(0, 255, 157, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(0, 255, 157, 0.05) 50%, 
        transparent 100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(0, 255, 157, 0.2);
}

/* Skills Section */
.skill-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.skill-bar {
    height: 8px;
    background: rgba(0, 255, 157, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    animation: fill 2s ease-out;
}

@keyframes fill {
    from { width: 0; }
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.project-card {
    background: rgba(0, 255, 157, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.1);
}

/* Contact Section */
.contact {
    background: rgba(0, 255, 157, 0.05);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.contact-matrix {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--primary-color);
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    position: relative;
    z-index: 1;
    min-height: 100px;
}

.matrix-line {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.matrix-line:nth-child(1) { animation-delay: 0.2s; }
.matrix-line:nth-child(2) { animation-delay: 0.4s; }
.matrix-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

footer {
    background: rgba(10, 10, 10, 0.95);
    color: var(--text-color);
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    z-index: unset;
    position: static;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.status-item {
    background: rgba(0, 255, 157, 0.05);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-label {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.status-value {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Core Values */
.core-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    background: rgba(0, 255, 157, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.1);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Skill Details */
.skill-detail {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

/* Project Tech Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tech span {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

/* Mission Stats */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 157, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 157, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Footer Note */
.footer-note {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        padding-bottom: 4rem;
    }

    .contact {
        margin-bottom: 4rem;
        padding: 1rem;
    }

    .contact-matrix {
        font-size: 0.8rem;
        padding: 0.8rem;
        min-height: 80px;
    }

    footer {
        padding: 0.8rem;
    }

    h1 {
        font-size: 3rem;
    }
    
    section {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    section.contact {
        margin-bottom: 3rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .status-grid,
    .core-values,
    .mission-stats {
        grid-template-columns: 1fr;
    }
    
    .project-tech {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }

    section:last-of-type {
        margin-bottom: 2.5rem;
    }
}

/* Animation Enhancements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.status-value {
    animation: pulse 2s infinite;
}

.value-item:hover h3 {
    color: var(--accent-color);
    transition: color 0.3s;
}

.project-tech span:hover {
    background: rgba(0, 255, 157, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s;
}

/* Remove extra margin from last section */
section:last-of-type {
    margin-bottom: 4rem;
} 