:root {
    --bg-color: #050507;
    --card-bg: #0d0d12;
    --border-glow: #00ffcc;
    --accent-purple: #9d4edd;
    --text-main: #f3f4f6;
    --text-muted: #8a8a93;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', system-ui, sans-serif;
    overflow-x: hidden;
    padding-top: 90px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes revealCard {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 4px rgba(0, 255, 204, 0.2); }
    50% { text-shadow: 0 0 15px rgba(0, 255, 204, 0.8), 0 0 25px rgba(0, 255, 204, 0.4); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- COMPONENTS --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    animation: textGlow 3s infinite ease-in-out;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li { margin-left: 25px; }

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--border-glow);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.animated-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    animation: revealCard 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animated-card h2 {
    margin-bottom: 15px; 
    color: var(--border-glow);
}

.animated-card p {
    font-size: 1.1rem; 
    line-height: 1.7;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
}

.skills-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.skill-badge {
    background: #161622;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: default;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    background: linear-gradient(45deg, var(--border-glow), var(--accent-purple));
    background-size: 200% 200%;
    animation: gradientShift 2s ease infinite;
    color: #000;
    font-weight: bold;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
}

/* --- FORM STATES --- */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 14px;
    background: #121218;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group textarea { resize: none; }

.form-group label {
    position: absolute;
    left: 14px;
    top: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    transform: translateY(-28px);
    font-size: 0.85rem;
    color: var(--border-glow);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--border-glow);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
}

.pulse-button {
    width: 100%;
    background: var(--border-glow);
    color: #000;
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pulse-button:hover {
    background: #00d4aa;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    transform: translateY(-2px);
}

#notification-box {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 255, 204, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    text-align: center;
}

#notification-box h3 { color: var(--border-glow); margin-bottom: 5px; }
#notification-box p { color: var(--text-muted); font-size: 0.95rem; }