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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0B0D17 0%, #1A1B3E 25%, #2D1B69 50%, #8B5CF6 100%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at top, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(11, 13, 23, 0.95) 0%, rgba(45, 27, 105, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
    animation: pulse 6s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    z-index: 2;
    padding: 0 2rem;
}

.hero-content {
    text-align: left;
    animation: slideInLeft 1s ease-out;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.profile-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 4px solid rgba(139, 92, 246, 0.6);
    box-shadow: 
        0 0 60px rgba(139, 92, 246, 0.4),
        0 0 120px rgba(236, 72, 153, 0.2),
        inset 0 0 40px rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    object-fit: cover;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 80px rgba(139, 92, 246, 0.6),
        0 0 140px rgba(236, 72, 153, 0.3),
        inset 0 0 50px rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 30%, #0EA5E9 60%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #C4B5FD;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    color: #E5E7EB;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 500px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.15);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    box-shadow: 
        0 15px 35px rgba(139, 92, 246, 0.4),
        0 5px 15px rgba(236, 72, 153, 0.3);
    color: #ffffff;
    border-color: rgba(139, 92, 246, 0.6);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #0EA5E9 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.4),
        0 4px 15px rgba(236, 72, 153, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.5),
        0 8px 25px rgba(236, 72, 153, 0.4);
    color: #ffffff;
    background: linear-gradient(135deg, #9333EA 0%, #DB2777 50%, #0284C7 100%);
}

/* Navigation */
.nav {
    position: fixed;
    top: 2rem;
    right: 4rem;
    z-index: 1000;
    display: flex;
    gap: 1rem;
}

.nav-item {
    padding: 0.8rem 1.8rem;
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.nav-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Content Sections */
.section {
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: rgba(139, 92, 246, 0.08);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.15),
        0 4px 16px rgba(236, 72, 153, 0.1);
}

.card:hover {
    transform: translateY(-12px);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.25),
        0 8px 32px rgba(236, 72, 153, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.skill-category:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
}

.skill-category h3 {
    color: #A78BFA;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.skill-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.25);
    color: #C4B5FD;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    margin: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: scale(1.05);
}

.experience-item {
    margin-bottom: 3rem;
    padding-left: 2.5rem;
    border-left: 3px solid #8B5CF6;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 40px rgba(236, 72, 153, 0.3);
}

.experience-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #A78BFA;
    margin-bottom: 0.5rem;
}

.experience-company {
    color: #C4B5FD;
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 500;
}

.experience-list {
    list-style: none;
    padding: 0;
}

.experience-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #E5E7EB;
}

.experience-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #8B5CF6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.contact-icon {
    font-size: 1.8rem;
    color: #A78BFA;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.2));
    color: #ffffff;
    transform: scale(1.1);
}

/* Make email contact item clickable */
.contact-item.email-contact {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-item.email-contact:hover h4,
.contact-item.email-contact:hover p {
    color: #ffffff;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(139, 92, 246, 0.2);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 50%, #0EA5E9 100%);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Animated Background Elements */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    animation: float-bg 25s infinite linear;
    filter: blur(1px);
}

.bg-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent);
}

.bg-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    right: -8%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent);
}

.bg-circle:nth-child(3) {
    width: 500px;
    height: 500px;
    top: 30%;
    left: 70%;
    animation-delay: -8s;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent);
}

@keyframes float-bg {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50px) translateX(30px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100px) translateX(-20px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-80px) translateX(50px) rotate(270deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 1400px) {
    .section {
        padding: 6rem 3rem;
        max-width: 1200px;
    }
    
    .hero {
        padding: 2rem 3rem;
    }
    
    .nav {
        right: 3rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .profile-image {
        width: 300px;
        height: 300px;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 5rem 2rem;
    }
    
    .hero {
        padding: 2rem;
    }
    
    .nav {
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
    }
    
    .nav {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-container {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 1rem;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .card {
        padding: 2rem;
    }
    
    .skill-category {
        padding: 2rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
