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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.resume-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.ai-banner {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}


.header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 50px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #667eea;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ai-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.contact-info {
    flex: 1;
}

.name {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.title {
    font-size: 20px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-details {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #666;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-multiplier {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.multiplier-title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.multiplier-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.multiplier-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.content {
    padding: 50px;
}

.section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    background: #f8f9ff;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(120deg, #667eea20 0%, #764ba220 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.experience-item {
    background: white;
    border: 1px solid #e0e6ed;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.job-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.company {
    font-size: 16px;
    color: #667eea;
    font-weight: 600;
}

.duration {
    font-size: 14px;
    color: #666;
    background: #f0f2f5;
    padding: 5px 12px;
    border-radius: 20px;
}

.job-description {
    color: #555;
    line-height: 1.7;
}

.achievement {
    background: #f8fff8;
    border-left: 3px solid #4CAF50;
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.skill-category {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e6ed;
}

.skill-category-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 14px;
}

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

.skill-tag {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.education-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.degree {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.institution {
    color: #667eea;
    font-weight: 500;
}

.year {
    color: #666;
    font-size: 14px;
}

@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .resume-container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .ai-banner {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }

    .profile-section {
        flex-direction: column;
        gap: 15px;
    }

    .contact-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .name {
        font-size: 28px;
    }

    .title {
        font-size: 18px;
    }

    .ai-multiplier {
        margin-top: 20px;
    }

    .content {
        padding: 25px;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ai-banner {
        font-size: 14px;
        padding: 10px 20px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .ai-badge {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .name {
        font-size: 24px;
    }

    .title {
        font-size: 16px;
    }

    .section-title {
        font-size: 20px;
    }

    .intro-text, .experience-item, .skill-category, .education-item {
        padding: 20px;
    }
}
