:root {
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 20, 0.7);
    --accent-blue: #00d2ff;
    --accent-blue-dim: rgba(0, 210, 255, 0.2);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --border-color: rgba(0, 210, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #001a33 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

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

/* Navigation */
nav {
    position: sticky;
    top: 20px;
    z-index: 100;
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.nav-links {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease-out;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-dim);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Styling */
section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out both;
}

h2 {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

/* Info Grid */
.info-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-list li {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.info-value {
    font-weight: 500;
}

.info-value a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--accent-blue-dim);
    color: var(--accent-blue);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--accent-blue);
    color: var(--bg-dark);
}

/* Experience & Projects */
.experience-item, .project-item {
    margin-bottom: 30px;
}

.experience-item:last-child, .project-item:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.item-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.item-meta {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-align: right;
}

.item-role {
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 10px;
}

.item-content {
    list-style: none;
}

.item-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: var(--text-dim);
}

.item-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none; /* Hide nav on mobile for simplicity, or could make it hamburger */
    }
    
    .container {
        padding: 20px;
    }
    
    .item-header {
        flex-direction: column;
    }
    
    .item-meta {
        text-align: left;
        margin-top: 5px;
    }
}
