:root {
    --bg-dark: #0a0a0f;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-primary: #00f0ff;
    --accent-secondary: #7000ff;
    --accent-tertiary: #ff0055;
    --glass-bg: rgba(20, 20, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Grid & Blobs */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.blob-cont {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}

.blob.yellow {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
}

.blob.red {
    width: 300px;
    height: 300px;
    background: var(--accent-tertiary);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.blob.green {
    width: 350px;
    height: 350px;
    background: var(--accent-secondary);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.2); }
}

/* Typography & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }

h1, h2, h3 { font-weight: 600; }
h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; }

.section { padding: 6rem 0; }
.section-title {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: #fff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

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

.logo {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--accent-primary);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
}

.subtitle {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Terminal Animation */
.terminal-window {
    background: #111;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 2rem;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

.terminal-header {
    background: #222;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn { width: 12px; height: 12px; border-radius: 50%; }
.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27c93f; }
.terminal-header .title {
    color: #888;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    margin-left: auto;
}

.terminal-body {
    padding: 1rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #0f0;
    min-height: 80px;
}

/* Timeline (Experience) */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem;
    top: 1.5rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-content h3 { color: #fff; margin-bottom: 0.3rem; }
.timeline-content h4 { color: var(--accent-primary); font-size: 0.9rem; font-weight: 400; margin-bottom: 1rem; }
.timeline-content ul { padding-left: 1.2rem; color: var(--text-secondary); }
.timeline-content li { margin-bottom: 0.5rem; }
.timeline-content strong { color: #e2e8f0; }

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card h3 { margin: 1rem 0 0.2rem; font-size: 1.3rem; }
.project-subtitle { color: var(--accent-secondary); font-size: 0.9rem; margin-bottom: 1rem; font-family: 'Fira Code', monospace; }
.project-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }
.project-icon { font-size: 2rem; color: var(--accent-primary); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tags span {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-primary);
}

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

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.skill-category h3 i { color: var(--accent-primary); }

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-list span {
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.skill-list span:hover {
    background: rgba(0, 240, 255, 0.15);
    border-color: var(--accent-primary);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .cta-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
}
