* {
    font-family: 'Inter', sans-serif;
}

body {
    background: #0a0a0f;
    color: #fff;
    overflow-x: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-custom {
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 10px 0;
    background: rgba(15, 15, 25, 0.98);
}

.navbar-custom .nav-link {
    color: #fff;
    transition: 0.3s;
    font-weight: 500;
    position: relative;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .nav-link:hover {
    color: #a855f7;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.05) 50%, transparent 80%);
    pointer-events: none;
}

.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 20px 40px -15px rgba(102, 126, 234, 0.4);
    animation: floatImage 3s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
}

.btn-custom {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-custom:hover::before {
    left: 100%;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-outline-custom {
    border: 2px solid #a855f7;
    background: transparent;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: #a855f7;
    color: white;
    transform: scale(1.05);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #a855f7;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(168, 85, 247, 0.3);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    text-align: center;
    color: #666;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.glass-card:hover .project-img {
    transform: scale(1.05);
}

.btn-project {
    background: transparent;
    border: 1px solid #a855f7;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    color: white;
}

.btn-project:hover {
    background: #a855f7;
    color: white;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .profile-img {
        width: 180px;
        height: 180px;
        margin-bottom: 30px;
    }
    .hero-section {
        text-align: center;
    }
}